Guest_imported
New member
- Jan 1, 1970
- 0
Hello. I hope someone can help me. I'm only a novice so bare with me. Here's the problem:
I have mutliple links on an image. these links call up my newWindow function. The problem is that I can only click on one of the links once. What I mean is that I click on link 75 on my image, it opens up, close it and I click on link 76(on the same image) and nothing loads up. Is there a way around this? (See code below for further clarification)
Also, how do I change my paths( file:///F:/temp/tukwebtemp/75.htm) so that it is only 75.htm. I have tried (..75.htm) and it doesn't work even though all files are in the same directory.
Thanks in advance for any help.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<SCRIPT LANGUAGE="Javascript">
<!--Hide from old browsers
function newWindow(URL){
newWindow = window.open(URL,'newWin',
'toolbar=no,menubar=no,location=no,scrollbars=yes,width=500,height=500,left=10,top=35')
}
//-->
</SCRIPT>
</head>
<body>
<p align="center"><img border="0" src="keysection1.jpg" align="left" width="79" height="125"><map name="FPMap0">
<area href="javascript:newWindow('file:///F:/temp/tukwebtemp/75.htm')" shape="rect" coords="23, 109, 50, 124">
<area href="javascript:newWindow('file:///F:/temp/tukwebtemp/76.htm')" shape="rect" coords="29, 82, 55, 93">
<area href="javascript:newWindow('file:///F:/temp/tukwebtemp/77.htm')" shape="rect" coords="30, 103, 67, 83"></map>
<img border="0" src="section1.jpg" usemap="#FPMap0" width="325" height="379"></p>
</body>
</html>
I have mutliple links on an image. these links call up my newWindow function. The problem is that I can only click on one of the links once. What I mean is that I click on link 75 on my image, it opens up, close it and I click on link 76(on the same image) and nothing loads up. Is there a way around this? (See code below for further clarification)
Also, how do I change my paths( file:///F:/temp/tukwebtemp/75.htm) so that it is only 75.htm. I have tried (..75.htm) and it doesn't work even though all files are in the same directory.
Thanks in advance for any help.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
<SCRIPT LANGUAGE="Javascript">
<!--Hide from old browsers
function newWindow(URL){
newWindow = window.open(URL,'newWin',
'toolbar=no,menubar=no,location=no,scrollbars=yes,width=500,height=500,left=10,top=35')
}
//-->
</SCRIPT>
</head>
<body>
<p align="center"><img border="0" src="keysection1.jpg" align="left" width="79" height="125"><map name="FPMap0">
<area href="javascript:newWindow('file:///F:/temp/tukwebtemp/75.htm')" shape="rect" coords="23, 109, 50, 124">
<area href="javascript:newWindow('file:///F:/temp/tukwebtemp/76.htm')" shape="rect" coords="29, 82, 55, 93">
<area href="javascript:newWindow('file:///F:/temp/tukwebtemp/77.htm')" shape="rect" coords="30, 103, 67, 83"></map>
<img border="0" src="section1.jpg" usemap="#FPMap0" width="325" height="379"></p>
</body>
</html>