Re: getting the selected li element form a ajaxselectionlist
Re: getting the selected li element form a ajaxselectionlist
- Subject: Re: getting the selected li element form a ajaxselectionlist
- From: Gustavo Pizano <email@hidden>
- Date: Sun, 24 May 2009 11:42:15 +0200
Hello Mike..
as you can see Im new to this.. but the $$ mean that are Prototype functions?.
doesn't it have a "selected" class assigned to it when it's selected? you should be able to do $$('#listid .selected') (or whatever the class is -- do a dom introspection on it to know for sure
ms
yes I have in my CSS a li.selected{attributes} also a li a.Hoover{}, (i cant recall the exact names or syntax, I have my dev computer at home)... and one I select something or hover over some li the css styles are being applied.
so if I understood good, I can do something like... var sel = $$('li.selected'); and the take the position x,y of sel and apply it to the image setting the z-index to +1 the <li> isn it? am I swimming in the right way?
thanks
Gustavo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden