JavaScript 関数を使用して、折りたたみパネル Widget をプログラムで開閉できます。 たとえば、クリックすると折りたたみパネルが開かれるボタンをページに配置できます。
次の関数を使用して折りたたみパネルを開閉します。
<input type="button" onclick="CollapsiblePanel1.open();" >open panel</input>
<input type="button" onclick="CollapsiblePanel1.close();">close panel</input>
<script type="text/javascript">
var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1");
</script>
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/ja_JP/Spry/1.4/WS83C0C3AE-200D-447c-B11A-B04E6815286E.html