Log In · Register

 
Fading Images, Whats wrong
chongalicious
post Jan 3 2005, 06:30 PM
Post #1


^ Are you dizzy yet?
****

Group: Member
Posts: 109
Joined: Dec 2004
Member No: 75,761



Hi i was trying to use the fading images script
I placed it all the way at the top of my custom header
CODE
<!-- begin code provided by createblog.com -->
<!-- begin code provided by createblog.com -->
<script language="JavaScript1.2">

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.3
else if (which2.filters)
which2.filters.alpha.opacity=30
}

function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

</script>

<!-- end code provided by createblog.com -->
<!-- end code provided by createblog.com -->



and i inserted this code into the createblog pic
CODE
<img src="http://www.createblog.com/images/button.gif"style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)" onMouseout="low(this)">

for some reason it wont work for me?
go to my xanga to c what happened!
My Webpage
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: