HighDots Forums  

spry accordion

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss spry accordion in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
covono
 
Posts: n/a

Default spry accordion - 07-12-2008 , 10:44 AM






Hi and thanks for helping.

I used the spry accordion as navigation bar.
The default is presenting "tab 1" open while the other tabs closed. How can i
edit the accordion to display "tab 2" open and "tab 1" closed in other pages?

Thanks for the help


Reply With Quote
  #2  
Old   
SnakEyez02
 
Posts: n/a

Default Re: spry accordion - 07-12-2008 , 11:56 AM






Everything you need to know is on the following page:

http://labs.adobe.com/technologies/s...ionSample.html

Reply With Quote
  #3  
Old   
covono
 
Posts: n/a

Default Re: spry accordion - 07-12-2008 , 12:04 PM



Bah.

this page cannot be displayed



Reply With Quote
  #4  
Old   
covono
 
Posts: n/a

Default Re: spry accordion - 07-12-2008 , 02:53 PM



OK.
i got it open but its not working for me.

i think i should edit this line

<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
//-->
</script>



what i did was :

<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { defaultPanel:label
2 })

//-->
</script>

it doesnt work. i get the two panels open and i cant close them.

can you please tell me what i should write?





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.