Toggle button
- From: Paul Spencer <pspencer (at) dmsolutions.ca>
- Date: Tue, 7 Feb 2006 11:47:43 -0500
A button becomes a toggle button when it is part of a group (at least
as it is implemented). It should be possible to have buttons that
toggle but are not part of groups, but this is not used by any
widgets AFAIK. The button code is all in cwc_button.js ... you
should be able to work from that file to make your own toggle button,
or you can make a widget but that seems like overkill
Cheers
Paul
On 7-Feb-06, at 10:44 AM, Carlo Tronnberg wrote:
Here comes a rather newbie question...
How do you implement a Toggle button calling a javascript function
in Chameleon? I know how to do it manually but could not figure out
how to do it using the widgets...
I want to have a contextual help button which when active (setting
of a javascript variable) will enable the display of detailed
information of the different features of the page by just hovering
over the elements.
Thanks for your help!
Carlo
_______________________________________________
Chameleon mailing list
Chameleon (at) lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon
+-----------------------------------------------------------------+
|Paul Spencer pspencer (at) dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
_______________________________________________
Chameleon mailing list
Chameleon (at) lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon