I don't know how you would do that in JavaScript. I don't think you
can do setAttribute('active','active') or anything like that. What you
might do is change your visual highlight from :active to .active
(className) and add/remove that with addClassName / removeClassName
instead.
Walter
On May 21, 2010, at 4:10 PM, thegdog wrote:
Right, I would use those, but what I don't know is how to trigger the
actual active state change.
On May 21, 1:00 pm, orbiter <dkarapet...@gmail.com> wrote:
I can think of a way of doing what you asked with some event
management. The events I would mess with to get things to work would
be mousedown, mouseup, mouseover, and mouseout.
--
You received this message because you are subscribed to the Google
Groups "Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
.
To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com
.
For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en
.
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.