Results 1 to 5 of 5

Thread: DD Drop Down Panel Help.

  1. #1
    Join Date
    Jul 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD Drop Down Panel Help.

    1) Script Title: DD Drop Down Panel

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pdownpanel.htm

    3) Describe problem:

    This was exactly what I was looking for, the only problem I'm having is when i'm expanding the panel it does not slide out smoothly, yet when i contract the panel it does. how do I fix this.

    as well as is there a way to set it so that the panel is defaulted open until someone closes it?

    and is it possible to use and image as the toggle panel tab???

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmm does your page contain a valid doctype at the top?

    As far as getting the panel to appear expanded initially, inside the .js file, simply set the part in red below to "down":

    Code:
    function ddpanel(setting){
    	setting.dir="down" //initial state of panel (up="contracted")
    	if (setting.stateconfig.persiststate && ddpanel.getCookie(setting.ids[0])=="down"){
    		setting.dir="down"
    	}
    DD Admin

  3. #3
    Join Date
    Jul 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yes, i believe so i will double check on the doctype.

    ty for showing me where the state of the panel was located i missed it. doh.

    now is there a way to set the toggle tab to be an image?

    Quote Originally Posted by ddadmin View Post
    Hmm does your page contain a valid doctype at the top?

    As far as getting the panel to appear expanded initially, inside the .js file, simply set the part in red below to "down":

    Code:
    function ddpanel(setting){
    	setting.dir="down" //initial state of panel (up="contracted")
    	if (setting.stateconfig.persiststate && ddpanel.getCookie(setting.ids[0])=="down"){
    		setting.dir="down"
    	}

  4. #4
    Join Date
    Jul 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i have tried setting it as a background image but it's kinda giving me troubles with the location of the tab when i have to define the height and width. : /

    Quote Originally Posted by syrehn View Post
    yes, i believe so i will double check on the doctype.

    ty for showing me where the state of the panel was located i missed it. doh.

    now is there a way to set the toggle tab to be an image?

  5. #5
    Join Date
    Jul 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    anyone??

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •