This is the source of a webpage I am developing.
<html>
<head>
<title>Untitled</title>
</head>
<SCRIPT Language="JavaScript">
function SwapOut01() {
imageflipper1.src="imageflipper10.src="return true
}
function SwapBack01() {
imageflipper1.src="imageflipper10.src="return true
}
function load_2(country_code) {
var action_line1="/cgi/get_details.pl?country_code=";
action_line1 +=country_code ;
parent.Frame_No_2.location.href =action_line1;
var action_line2="/cgi/country_intro.pl?country_code=";
action_line2 +=country_code ;
parent.Frame_No_3.location.href =action_line2;
}
</script>
<body>
<A onmouseover="SwapOut01()" onmouseout="SwapBack01('')">
<IMG BORDER = "0" NAME = "imageflipper1" SRC="</A>
<A onClick="return load_2('us')" onMouseOver="SwapOut01()" onMouseOut="SwapBack01()">
<IMG STYLE="position:absolute; left=90; top:22;" BORDER = "0" NAME = "imageflipper10" SRC="</A>
</body>
</html>
To test out, replace 'mysite' with another site where the following image pics exist in 'images' subdirectory:
continent1.gif
i-continent.gif
zerobytes.gif (a 1x1 pixel dummy picture)
us.gif
----------------------------------
This works perfectly in Internet explorer.. especially the onmouseover and onmouseout events... but it does not work in Netscape Navigator.
What am I doing wrong? B-(
Thanks for all help
Regards,
Uttam
<html>
<head>
<title>Untitled</title>
</head>
<SCRIPT Language="JavaScript">
function SwapOut01() {
imageflipper1.src="imageflipper10.src="return true
}
function SwapBack01() {
imageflipper1.src="imageflipper10.src="return true
}
function load_2(country_code) {
var action_line1="/cgi/get_details.pl?country_code=";
action_line1 +=country_code ;
parent.Frame_No_2.location.href =action_line1;
var action_line2="/cgi/country_intro.pl?country_code=";
action_line2 +=country_code ;
parent.Frame_No_3.location.href =action_line2;
}
</script>
<body>
<A onmouseover="SwapOut01()" onmouseout="SwapBack01('')">
<IMG BORDER = "0" NAME = "imageflipper1" SRC="</A>
<A onClick="return load_2('us')" onMouseOver="SwapOut01()" onMouseOut="SwapBack01()">
<IMG STYLE="position:absolute; left=90; top:22;" BORDER = "0" NAME = "imageflipper10" SRC="</A>
</body>
</html>
To test out, replace 'mysite' with another site where the following image pics exist in 'images' subdirectory:
continent1.gif
i-continent.gif
zerobytes.gif (a 1x1 pixel dummy picture)
us.gif
----------------------------------
This works perfectly in Internet explorer.. especially the onmouseover and onmouseout events... but it does not work in Netscape Navigator.
What am I doing wrong? B-(
Thanks for all help
Regards,
Uttam