Skip to main content
Participant
Jul 12, 2007 11:11 AM UTC
Question

Spry Configuration

Can anyone help me regarding the spry objects in dreamweaver. I wish to have a couple of collapsable panels on a web page, however, when the page is opened I would like the panels to be collapsed rather than the first open and the second collapsed, if all that makes sense? I could use the same intention on the accordian object, does the settings relate to both objects?
I can't find any setting in the css file, maybe it is in the js file????
Any help on this would be greatly appreciated....
This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Jul 16, 2007 8:41 PM UTC
In Dreamweaver CS3 when you have a Spry Collapsilbe Panel in you page you should be able to click on the blue tab to get the Property Inspector for that object. In the Property Inspector you can change the initial state from opened to closed.

If you want to hand code, the JS for this looks like:
var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:false});

HTH,
Chris
Adobe Dreamweaver Engineering
Translate
Participating Frequently
Jan 14, 2013 3:33 PM UTC

Hi Chris,

I can't find the initial state option in the properties inspector. Is this still correct for newer versions of dreamweaver?

Alternatively, where do I put the code that you've set out?

Thanks.

Translate