Hi all
I have inserted a list of section images in accordance with the AUG.
What Im trying to do is create a rollover image for each of those section images using:
[where the rollover image has the same file name, but in a folder called 'f2'] and with
in the head.
I think Im getting confused with the 's and "s, can anyone please help.
thanks in advance
regards
j
I have inserted a list of section images in accordance with the AUG.
What Im trying to do is create a rollover image for each of those section images using:
'<a href=' + pItem[i].sURL + '>
<img src="' + pItem[i].sImage + '" alt="' + pItem[i].sName + '" width='+ pItem[i].nImageWidth + ' height=' + pItem[i].nImageHeight + ' border=0
onMouseOver="MM_swapImage("","","f2/ '+ pItem[i].sImage +' ",1)" onMouseOut="MM_swapImgRestore()">
</a>
<img src="' + pItem[i].sImage + '" alt="' + pItem[i].sName + '" width='+ pItem[i].nImageWidth + ' height=' + pItem[i].nImageHeight + ' border=0
onMouseOver="MM_swapImage("","","f2/ '+ pItem[i].sImage +' ",1)" onMouseOut="MM_swapImgRestore()">
</a>
<script>function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}</script>
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}</script>
I think Im getting confused with the 's and "s, can anyone please help.
thanks in advance
regards
j
Comment