DD Drop Down Panel
http://www.dynamicdrive.com/dynamici...pdownpanel.htm
In stateconfig: {initial: "1px", persiststate: true}, is there a way to have it completely hidden? I tried 0 and 0px...neither worked.
Thanks,
Ash
DD Drop Down Panel
http://www.dynamicdrive.com/dynamici...pdownpanel.htm
In stateconfig: {initial: "1px", persiststate: true}, is there a way to have it completely hidden? I tried 0 and 0px...neither worked.
Thanks,
Ash
Last edited by AshleyQuick; 03-24-2009 at 12:25 AM.
Works for me actually. What browser are you using? Do you have any CSS padding added to the "ddpanelcontent" DIV itself (which you shouldn't) in your CSS:
Code:.ddpanel .ddpanelcontent{ /*CSS for "content" DIV of Drop Down Panel*/ color: white; background: black; /*background of Drop Down Panel*/ /*Do NOT add any "padding" or "margin" properties here! Any padding/margin should be added to your content's container within this DIV instead */ }
DD Admin
Probably, let me check
No padding. Just noticed the problem is with IE6 (which is what I was testing in at the time). With 0, the page opens with the panel expanded. When you try to close it, it begins but reverts back to the open state. Honestly, it's not a huge deal because I'm about one more issue away from removing IE6 from my computer and having a party to celebrate.
I do have another question. Do you have a suggestion on how to preload the hover image so that it doesn't blink?
In IE6, make sure your page contains a valid doctype at the top:
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">I'll update the script within the next couple of days for this.I do have another question. Do you have a suggestion on how to preload the hover image so that it doesn't blink?
DD Admin
Here you go: http://dynamicdrive.com/dynamicindex...opdownpanel.js The updated version preloads the arrow images, though this may not address the blinking issue you're talking about, since the script purposely hides the arrow image while the content is in the midst of being animated.
DD Admin
Bookmarks