You are here: irt.org | About | Feedback | 3830 [ previous next ]
Feedback on:
irt.org FAQ Knowledge Base Q581
Sent by
Jeff Summers on May 01, 2002 at 18:33:13:
Worth:
Worth reading
Length:
Just right
Comments:
It's easy enough using the SPAN tag, and it won't cause the entire line to act on the event as a DIV tag will. You can use a mouseover and mouseout to simulate the effect of a roll over. Even javascript can be triggered with an even as part of the SPAN tag. Works in any HTML level 4 browser and up.
<br>
<br>
<br>
<span onmouseover="style.color='red'">Point here for red text.</span>
<br>
<br>
<span onmouseover="style.color='red'" onmouseout="style.color='black'">Point here to highlight red then change back</span>
<br>
<br>
<span onmouseover="javascript:alert('I love DHTML')">Point your mouse here for an alert</span>
<br>
<br>
Other feedback on 'irt.org FAQ Knowledge Base Q581' - show all