personally, i think the better way would be to redefine the selected
style, add a 20px margin-left and set a no-repeating background image
to be your image, but if that doesn't work for some reason, then maybe
what you're saying. what you're describing is solving this problem
with a sledge hammer. you're goign to try to absolutely position an
image, which is going to scroll wrong, etc. i guess you could add it
x,y relative to the scrolling div ..... i would definitely try to
solve this with css first.
On May 24, 2009, at 5:42 AM, Gustavo Pizano wrote:
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjectspicora%40gmail.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]