Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Spry Configuration

New Here ,
Jul 12, 2007 Jul 12, 2007
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....
TOPICS
Extensions
3.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 16, 2007 Jul 16, 2007
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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 14, 2013 Jan 14, 2013
LATEST

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines