View Full Version : Imagemap help!?

Jul 9th, 2002, 03:42 AM
Ok, here is the deal...I know how to do image maps and they are pretty easy. I am currently redoing my sites layout and I am trying some different things. I have an image that I have already mapped out and everything...the thing is that I want my links on the map to come up in a popup window that is about 400wide and 500 in height.

I am kinda brain dead on how to go about doing this. If anyone could help guide me in the right direction that would be great!;)



Jul 9th, 2002, 05:58 AM
In your area tag:

<area ... href="javascript:window.open('page.html','windowname','width=400,height=500');">

Jul 9th, 2002, 07:24 AM
Perfect!!! I am new to using Java Script...I basically just know HTML and PERL related stuff.:thumbsup:

Jul 9th, 2002, 07:50 AM
Ok...i have a problem....what you told me works fine except one thing....when I click the image link the window pops up and everything...but then the page I clicked the link on turns to a blank page and says: "[object]" but when I look at the address bar it is at the page that i clicked the link on....it just doesn;t look like it.

How do i stop if from doing this???

Also...how do I add scrollbars to the popup window too???

Jul 9th, 2002, 08:15 AM
<area ... href="#" onClick="window.open('page.html','windowname','scrollbars=yes,width=400,height=500');">

Jul 9th, 2002, 08:35 AM
Thanx bro...that did it!;)

Jul 9th, 2002, 08:56 AM
I'm thinking your "user profile" could use a slight adjustment:



Jul 10th, 2002, 06:46 PM
ops....:p I always do that!