Submit button effect:
----------------------------------------------------------------------------------
1) add botton:
<input
onmouseover="LightOn(this)"
onmouseout="LightOff(this)"
type="button"
value="Button">
2) add script to the HEAD:
<script>
<!--
var
i=0;
var
ie=(document.all)?1:0;
var
ns=(document.layers)?1:0;
function
initStyleElements()
{var
a =
document.pad;
if (ie)
{
a.text.style.backgroundColor="#000080";
a.submit.style.backgroundColor="#c0c0c0";
a.submit.style.cursor="hand";
a.clear.style.backgroundColor="#c0c0c0";
a.clear.style.cursor="hand";
}
else return;
}
function
LightOn(what)
{
if (ie)
what.style.backgroundColor
= '#1a5eb2';
else return;
}
function
LightOff(what)
{if (ie)
what.style.backgroundColor
= '#c0c0c0';
else return;
}
// -->
</script>
-----------------------------------------------------------------------------------------------
Back to the http://miroweb.com/scripts.htm