Guest_imported
New member
- Jan 1, 1970
- 0
This script is used to cycle through the "MouseOver" images upon a user's arrival at our site - but in Netscape, debugging the JavaScript returns "Roll1" not defined.
Any assistance would be greatly appreciated.
<SCRIPT Language=Javascript>
function StartRoll()
{
setTimeout('Roll1()',1000);
}
function Roll1()
{
MM_swapImage('Image1','','IMAGES/shpr_ro.gif',1);
MM_showHideLayers('Price','','show');
setTimeout('HideRoll1()',1000);
}
function HideRoll1()
{
MM_swapImgRestore();
MM_showHideLayers('Price','','hide');
Roll2();
}
function Roll2()
{
MM_swapImage('Image2','','IMAGES/shco_ro.gif',1);
MM_showHideLayers('company','','show');
setTimeout('HideRoll2()',1000);
}
function HideRoll2()
{
MM_swapImgRestore();
MM_showHideLayers('company','','hide');
Roll3();
}
function Roll3()
{
MM_swapImage('Image3','','IMAGES/shben_ro.gif',1);
MM_showHideLayers('Bene','','show');
setTimeout('HideRoll3()',1000);
}
function HideRoll3()
{
MM_swapImgRestore();
MM_showHideLayers('Bene','','hide');
}
StartRoll();
</SCRIPT>
Any assistance would be greatly appreciated.
<SCRIPT Language=Javascript>
function StartRoll()
{
setTimeout('Roll1()',1000);
}
function Roll1()
{
MM_swapImage('Image1','','IMAGES/shpr_ro.gif',1);
MM_showHideLayers('Price','','show');
setTimeout('HideRoll1()',1000);
}
function HideRoll1()
{
MM_swapImgRestore();
MM_showHideLayers('Price','','hide');
Roll2();
}
function Roll2()
{
MM_swapImage('Image2','','IMAGES/shco_ro.gif',1);
MM_showHideLayers('company','','show');
setTimeout('HideRoll2()',1000);
}
function HideRoll2()
{
MM_swapImgRestore();
MM_showHideLayers('company','','hide');
Roll3();
}
function Roll3()
{
MM_swapImage('Image3','','IMAGES/shben_ro.gif',1);
MM_showHideLayers('Bene','','show');
setTimeout('HideRoll3()',1000);
}
function HideRoll3()
{
MM_swapImgRestore();
MM_showHideLayers('Bene','','hide');
}
StartRoll();
</SCRIPT>