View Full Version : Rollover buttons that display text underneath

10-15-2008, 09:02 PM

I am looking to add some buttons that upon rollover display text (a detailed description of what the user would find should they click the button) I'm going to have about three all together on one page and I would like the text to appear in the same place. So in short rollover and text appears. Any help greatly appreciated.


10-15-2008, 09:59 PM
<input type="button" onmouseover="document.getElementById('inht').innerHTML = 'your description here';" onmouseout="document.getElementById('inht').innerHTML = '';" value="Mouseover"><br><span id="inht"></span>

You can change the position of the span to fit your needs from the code above.