I wanted to use the .select method to show an overlay when rolling
over a list item:

But it doesn't seem to work if I use $(this).select… ?

<li onmouseover="$(this).select('span').show();">
  <span style="display: none;">text</span>

Works fine if I use ids:

<li onmouseover="$('item1').show();">
  <span id="item1" style="display: none;">text</span>

But I'd like to repeat it many times without having to change the code
for each one, so a method involving $(this).select would be great… Is
it possible?
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to