thickandthin
09-23-2002, 09:22 PM
do pop ups work with image maps, if so whats wrong with this coding:
<html>
<head>
<title>Vice City Source</title>
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=650,height=600');");
}
// End -->
</script>
</head>
<body bgcolor=ccffcc>
<center>
<img src="radio1.gif">
<br><font face="verdana" size=2>
To listen to each radio station click on one of the red buttons at the top with the station name on it!
<MAP name="mymap">
<IMG SRC="radiomap.gif" USEMAP="#mymap" border=0>
<AREA SHAPE="DEFAULT" HREF="javascript:popUp('espantoso.html')" COORDS="442,70,506,85" alt="Radio Espantoso -> Jazz/Latin -> TBA">
</map>
</body>
</html>
<html>
<head>
<title>Vice City Source</title>
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=650,height=600');");
}
// End -->
</script>
</head>
<body bgcolor=ccffcc>
<center>
<img src="radio1.gif">
<br><font face="verdana" size=2>
To listen to each radio station click on one of the red buttons at the top with the station name on it!
<MAP name="mymap">
<IMG SRC="radiomap.gif" USEMAP="#mymap" border=0>
<AREA SHAPE="DEFAULT" HREF="javascript:popUp('espantoso.html')" COORDS="442,70,506,85" alt="Radio Espantoso -> Jazz/Latin -> TBA">
</map>
</body>
</html>