Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
mmcarthey #1
Spry collapsiblepanel onclick
Hello all,
I have a selection of checkboxes that I am using to call the panel.open() and
panel.close() methods. Everything is working fine, but I would like to
maintain the state of the checkboxes if the user happens to click the tab for
the panel. If I could do either of the following, it would solve my problem.
1. Capture the event when the user clicks the tab, I could modify the state of
the checkbox, or
2. Disable the ability to click the tab to open/close the panel.
Is there a way to accomplish this task?
Thanks!
mmcarthey Guest
-
Combine Spry Tabbed Panel and Spry HTML Panel
I would like to maintain the presentation of the tabbed panel and utilize its ability to load content from a Spry Dataset, but I would also like to... -
Nesting Spry CollapsiblePanel
When nesting a Collapsible Panel with in a Collapsible Panel the CollapsiblePanelTab does not toggle between the open and closed state. I start the... -
How do you set up the OnClick with ASP 2.0 ?
In my 1.1 project, I was creating dynamically a LinkButton, and stored it into a Table.Row.Cell.Controls(). I was adding an MyOnClick handler to... -
onclick
What is going with mine code ??. When I select page2 from radio button, I should have "form2" display on the page but it seems to me nothing... -
[PHP] OnClick problem
Hi, Are you using the variable $_SERVER for your link target? -Dan Joseph -
danilocelic AdobeCommunityExpert #2
Re: Spry collapsiblepanel onclick
mmcarthey wrote:
Spry questions should be asked in the Spry forum:> Hello all,
> I have a selection of checkboxes that I am using to call the panel.open() and
> panel.close() methods. Everything is working fine, but I would like to
> maintain the state of the checkboxes if the user happens to click the tab for
> the panel. If I could do either of the following, it would solve my problem.
> 1. Capture the event when the user clicks the tab, I could modify the state of
> the checkbox, or
> 2. Disable the ability to click the tab to open/close the panel.
[url]http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602[/url]
In order to do what you wan to do, you'll need to add an onclick event to each panel header and have that even check the appropriate box. One way to do this would be similar to the following:
onclick="var cb = CollapsiblePanel1.getElement('checkbox1'); cb.checked = !cb.checked"
That this does is toggle the checkbox with an id of checkbox1 when the panel header for the CollapsiblePanel1 is clicked.
Please post follow up questions in the Spry forums.
--
Danilo Celic
| [url]http://blog.extensioneering.com/[/url]
| WebAssist Extensioneer
| Adobe Community Expert
danilocelic AdobeCommunityExpert Guest



Reply With Quote

