The style can be applied via a style section in the head or add just the rule (red) to your external stylesheet:
Code:
<style type="text/css">
#trueContainer img {
filter:alpha(opacity=50);
-moz-opacity:0.5;
}
</style>
Script code can assign the events to the images:
Code:
for (var i_tem = 0; i_tem < document.images.length; i_tem++)
if ( document.images.parentNode.parentNode.id=='trueContainer' ){
document.images[i_tem].onmouseover=function(){makevisible(this,0)}
document.images[i_tem].onmouseout=function(){makevisible(this,1)}
}
This could go in the fillup() function:
Code:
function fillup(){
if (iedom){
crossmain=document.getElementById? document.getElementById("motioncontainer") : document.all.motioncontainer
menuwidth=parseInt(crossmain.style.width)
mainobjoffset=getposOffset(crossmain, "left")
cross_scroll=document.getElementById? document.getElementById("motiongallery") : document.all.motiongallery
actualwidth=document.all? cross_scroll.offsetWidth : document.getElementById("trueContainer").offsetWidth
crossmain.onmousemove=function(e){
motionengine(e)
}
crossmain.onmouseout=function(e){
stopmotion(e)
showhidediv("hidden")
}
}
loadedyes=1
if (endofgallerymsg!=""){
creatediv()
positiondiv()
}
for (var i_tem = 0; i_tem < document.images.length; i_tem++)
if ( document.images.parentNode.parentNode.id=='trueContainer' ){
document.images[i_tem].onmouseover=function(){makevisible(this,0)}
document.images[i_tem].onmouseout=function(){makevisible(this,1)}
}
}
You will still need the Highlight image script on or linked to your page.
Bookmarks