JavaScript Rollover effect for whole paragraphs and tables code
Even my granny knows how to add rollover effects to text links and buttons. Yet how do you create rollover effects that will highlight whole paragraphs, tables, div's and spans? Much easier than you think! Internet Explorer 4 or higher.
Move your mouse around this page in order to see how the script highlights paragraphs, links, textfields and more.
Configuration:
Step 1: Open your web page and paste the following code into the <head>section:
Step 2: Open your web page, go to the top of the script and configure the rollover-color (red code below):
// rollover-color
var color_onmouseover="yellow"
Step 3: Put the content of your web page into tables, paragraphs, DIV's, spans and more and test the rollover-effect by trial and error.
Step 4: Have fun!
| Download 500 free copy-and-paste scripts. |