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
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