Forum Moderators: open
<a href="javascript:;" onClick="MM_swapImage('imageback','','oneofusfront.jpg',0)"><img src="minionefront.jpg" width="48" height="48" border="0"></a></td>
Hope that makes sense! Thanks for reading!
function MM_swapImage(varNam1,varNam2,etc.~){
//lines of code here;
}
I think we'll need to see that function to proceed. This should, actually, be a fairly simple bit of code, but products like Screamweaver are known to make the simple complex. (Is their's a government operation?)
Rambo is right, we need to see more code, but in the meantime here's a good tip I've found for debugging naughty JavaScript: In Internet Explorer turn on the option to Show Scripting Errors and then try out your page in IE instead of Safari. IE will then show you the JavaScript errors when you try to run the page, and they often provide valuable clues about what's wrong.
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
I have to admit it looks very confusing to me, I hope I've posted the right part! Thanks for your patience!