View Full Version : Mouseover help


Grace_Adler
08-07-2005, 10:36 PM
How did this girl do this?

http://www.xanga.com/home.aspx?user=ii_ROC (http://)

I found a topic on this already but the script didn't work and some of the questions that were asked weren't answered. (like where to paste the code -- even though I tried putting it everywhere the code they gave didn't work)

tokyo bleu
08-07-2005, 10:41 PM
The mouseover for the images?

<STYLE type="text/css">
img {FILTER: glow(color=pink)
progid:DXImageTransform.Microsoft.Alpha(Opacity=90 , FinishOpacity=1, Style=3, StartX=0, FinishX=100, StartY=0, FinishY=100);}
</STYLE>

I assume that's what you're looking for (remove the spacing in the code).

Grace_Adler
08-07-2005, 11:18 PM
thank you for that code :)
but I was actually looking for the code she used to make her blog entries light up.

tokyo bleu
08-07-2005, 11:24 PM
<script language="javascript">
//Sets blog opacity (0-100)
opcty = 10;
//Sets rollover opacity
msvropcty = 100;
////////////////////////////////////
tables = document.getElementsByTagName('table');
for(var j=0;j<tables.length;j++){
if(tables[j].className == "blogbody"){
tables[j].style.filter = "alpha(opacity=" + opcty + ")";
tables[j].onmouseover = function(){this.style.filter = "alpha(opacity=" + msvropcty + ")";}
tables[j].onmouseout = function(){this.style.filter = "alpha(opacity=" + opcty + ")";}
}
}
//--></script>

Website Stats (remove the spacing in the word filter).