Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

***CHANGE filter properties with a mouseover???***

Status
Not open for further replies.

A1Defiant

Technical User
May 24, 2001
22
GB
I'm wanting to create a mouseover so to create a style filter glow?
I can create a standard glow filter on text but the problem may stem around either the DOM on the script pointing at the wrong object or the fact that all sites are saying that to have a glow object for a DIV element you need to adjust the style properties to have a standard width and height!

Relevant Code:
//INHEAD SCRIPT
<script>
function glowtext(){
bunglow.filter=&quot;glow(color=white,strength=10)&quot;;
}
</script>
//INBODY HTML
<DIV ID=&quot;bunglow&quot; class=index1 STYLE=&quot;position:absolute; width:200px; height:50px; top:150; left:150;
background:blue ;filter:glow(color=blue,strength=5)&quot; onmouseover=&quot;glowtext()&quot;> GLOWING TEXT

<table id=bunglow STYLE=&quot;filter:glowcolor=red,Strength=5) onclick=&quot;glowtext()&quot;>
GLOW TEXT
</TABLE>

</DIV>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top