PDA

View Full Version : Problem with Animated Collapsible DIV



guruofpc
03-04-2010, 10:00 AM
Hi,

I'm using Animated Collapsible DIV and it's working enough good ,but i have one problem... when you first time enter the site all divs are hidden ,but i set those

<script type="text/javascript">
animatedcollapse.addDiv("disclaimer", "fade=0,speed=300,hide=0,persist=1")
animatedcollapse.addDiv("navigation", "fade=0,speed=300,persist=1")

animatedcollapse.ontoggle=function($, divobj, state){ //fires each time a DIV is expanded/contracted
//$: Access to jQuery
//divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
//state: "block" or "none", depending on state
}

animatedcollapse.init()
</script>

and nothing it's always hidden, i want that when you first time enter web page you see not hidden div's if you want you press - and it will hide...
what's wrong?

SORRY FOR MY BAD ENGLISH

ddadmin
03-05-2010, 04:57 AM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Do your DIVs contain the CSS attribute display:none that causes the DIV to be hidden? Please post a link to the page on your site that contains the problematic script so we can check it out.

guruofpc
03-05-2010, 01:42 PM
hi, no i dont use css display : none; url to site http://78.62.186.9

guruofpc
03-05-2010, 01:51 PM
problem solved