Categories:

Home / Free JavaScripts / IE 4.x / Here

Cut & Paste Rollover form button (Requires IE 4.x)

Credit: JavaScript Kit

Description: A script that makes any form button change color as the mouse moves over it. Requires IE 4.x, although all other browsers will still go to the specified url when clicked on (degrades well with all other browsers).

Example:




Direction

Step 1: Insert the below into the <head> section of your page:

Step 2: Insert the below into the <body> section of your page:

To change the color of the onMouseover effect, enter a different color in the <form> tag, like below:

<form onMouseover="change('lightgreen')" onMouseout="change('')">

To remove or add additional buttons, remove/add more of the below:

<input type="button" value="Script 1 " style="font-weight:bold" onClick="jumpto('cut1.htm')"><br>

with the part in red representing the url that will load when the button is clicked on.


JavaScript Tools:
Site Info


CopyRight (c) 2018 JavaScript Kit. NO PART may be reproduced without author's permission. Contact Info