Java script error

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

mingoe

Thread Starter
Joined
Jul 22, 1999
Messages
15
Greetings:
I am attemting to write a script that will have a link open a pop up Window. The script works the first time, however, if I close the second window and click the link again I get a script error message and the pop up won't pop up. Here is the piece of code:

function map() {
map=window.open('areamap.jpg','map', 'width=720,height=568')
}

Call in Body
a href="javascript:map('areamap.jpg')">Project Area

Does anyone have any idea what can be going wrong here? Thanks in advance for any help.

Mike
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top