I am using using MM_swapImgResto re() fiunction for highlighting the selected tab.
but this is working fine on IE and not working on mozilla .
Onmouseout oif tabs im calling this function.
Please help me out
but this is working fine on IE and not working on mozilla .
Onmouseout oif tabs im calling this function.
Code:
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++)
{
switch(document.topPanelForm.tabval.value)
{
case 1:
document.topPanelForm.tabval.value="";
x.src=x.src;
break;
case 2:
document.topPanelForm.tabval.value="";
x.src=x.src;
break;
case 3:
document.topPanelForm.tabval.value="";
x.src=x.src;
break;
case 4:
document.topPanelForm.tabval.value="";
x.src=x.src;
break;
case 5:
document.topPanelForm.tabval.value="";
x.src=x.src;
break;
default:x.src=x.oSrc;
break;
}
}
}
Comment