WhiteSnakerr
07-09-2002, 02: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!;)
Thanx,
-Snake-
Spookster
07-09-2002, 04:58 AM
In your area tag:
<area ... href="javascript:window.open('page.html','windowname','width=400,height=500');">
WhiteSnakerr
07-09-2002, 06:24 AM
Perfect!!! I am new to using Java Script...I basically just know HTML and PERL related stuff.:thumbsup:
WhiteSnakerr
07-09-2002, 06: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???
Spookster
07-09-2002, 07:15 AM
<area ... href="#" onClick="window.open('page.html','windowname','scrollbars=yes,width=400,height=500');">
WhiteSnakerr
07-09-2002, 07:35 AM
Thanx bro...that did it!;)
Gordo
07-09-2002, 07:56 AM
I'm thinking your "user profile" could use a slight adjustment:
Houston
:D
WhiteSnakerr
07-10-2002, 05:46 PM
ops....:p I always do that!
thanx...;)