Hallo Frank,
[...] verwende ich ein SpryCollapsiblePanel aus'n Dreamweaver für die Menüführung (rechte Seite). Standartmässig sind solche Panels ausgeklappt. Ich möchte aber, dass wen der Gast auf die Seite kommt, er / sie die Panels zugeklappt vorfindet. Wie kann ich das mit dem vorhandenen Panel realisieren?
das steht in der Doku:
<zitat>
Set the default state of the panel
By default the Collapsible Panel widget is open when the web page loads in
a browser. You can, however, change the status of the panel if you want the
panel to be closed when the page loads.
Set the contentIsOpen option in the constructor as follows:
<script type="text/javascript">
[code lang=javascript] var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", { contentIsOpen: false });
</script>
[/code]
</zitat>
Freundliche Grüße
Vinzenz