Well I'm here to learn so..
The url is crashing into the javascript ...
This code is from Ken's original script.<a href="<?php echo $PHP_SELF; ?>?
<?php echo $doShow; ?>mode=<?php echo $ModeMinus; ?>
&animated=<?php echo $Animated; ?>&track=<?php echo $Track; ?>
&advisories=<?php echo $Advisories; ?>&lightning=<?php echo $Lightning; ?>&national=<?php echo $National; ?>#WUtop" onmouseover="rollThis('pic1','<?php echo $imagesDir; ?>radar1a.gif')" onmouseout="rollThis('pic1','<?php echo $imagesDir; ?>radar1.gif')"><img src="<?php echo $imagesDir; ?>radar1.gif" alt="Zoom In" title="Zoom In" width="24" height="28" name="pic1" border="0"/></a>
<a href="<?php echo $PHP_SELF; ?>?
<?php echo $doShow; ?>mode=1
&animated=<?php echo $Animated; ?>&track=<?php echo $Track; ?>
&advisories=<?php echo $Advisories; ?>&lightning=<?php echo $Lightning; ?>&national=<?php echo $National; ?>#WUtop" onmouseover="rollThis('pic2','<?php echo $imagesDir; ?>radar2a.gif')" onmouseout="rollThis('pic2',<?php echo $mode1HL;?>)"><img alt="<?php echo $WUname1; ?>" title="<?php echo $WUname1; ?>" src=<?php echo $mode1HL;?> width="24" height="28" name="pic2" border="0"/></a>
This is the code after my modification. I removed the parts in red as being of no use to me.<a href="<?php echo $PHP_SELF; ?>?mode=<?php echo $ModeMinus; ?>&track=<?php echo $Track; ?>onmouseover="rollThis('pic1','<?php echo $imagesDir; ?>radar1a.gif')" onmouseout="rollThis('pic1','<?php echo $imagesDir; ?>radar1.gif')"><img src="<?php echo $imagesDir; ?>radar1.gif" alt="Zoom In" title="Zoom In" width="24" height="28" name="pic1" border="0"/></a>
<a href="<?php echo $PHP_SELF; ?>?mode=1&track=<?php echo $Track; ?>onmouseover="rollThis('pic2','<?php echo $imagesDir; ?>radar2a.gif')" onmouseout="rollThis('pic2',<?php echo $mode1HL;?>)"><img alt="<?php echo $WUname1; ?>" title="<?php echo $WUname1; ?>" src=<?php echo $mode1HL;?> width="24" height="28" name="pic2" border="0"/></a>
This is the Javascript.<script>
function rollThis(whichImage,whichPic){
document.images[whichImage].src = whichPic;
}
</script>
Honestly I cannot find a problem and don't see an issue on my site. I am willing to learn. Perhaps a little more verbose explanation of what you're seeing may help me track it down.