Should have mentioned that I am using Prototype version 1.6.0.2.

On May 21, 12:22 pm, thegdog <theg...@gmail.com> wrote:
> Is there a way to change the :active state of elements through
> Prototype?
>
> Here's the basic gist of what I am doing it:
> I have a navigation menu, made up of <li> tags with <a> links inside.
> When the user hovers over one of the <li> tags, a different background
> is applied to the <li>.  When the user clicks on one of the <li> tags,
> a different background is applied to the <li>.
>
> It is possible for a user to click one of the <li> tags, then decide
> he doesn't want to go to that link, and then drags off the <li> before
> releasing the mouse.  This leaves the <li> in its active state (with
> the active background applied).  I wanted to use Prototype so that
> when a user moves his mouse over one of the other <li> tags, it will
> remove the active state from the one clicked.
>
> Is that possible?
>
> Thanks for any information you can provide.
>
> --
> 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 
> athttp://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.

Reply via email to