Javascripts > Misc Javascripts > Table Fader
Script Title: Table Fader
Description: Make any table fade in and out on mouse over.
Example: Available
Copy the following code into your <HEAD></HEAD> tags.<script language="JavaScript"> //Table Fader //By:anonymous..check out www.netsourcerers.net //Idea from dynamicdrive.com image fader function makevisible(cur,which){ strength=(which==1)? 1 : 0.2 if (cur.style.MozOpacity) cur.style.MozOpacity=strength else if (cur.filters) cur.filters.alpha.opacity=strength*100 } </script>
Copy the following code between the <BODY></BODY> tags of your html page.<table border="1" width="100%" style="filter:alpha(opacity=100);-moz-opacity:90" onMouseover="makevisible(this,1)" onMouseout="makevisible(this,0)"> <tr> <td> Table Fader </td> </tr> </table>
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email