|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am trying to make a image map of the US where you can click on a state and a window will popup...
I can make the image map, and I can make the popup window, but I can't make the window popup when you click the imagemap... URL please help... here's what I have so far... example of what the popup should look like: http://www.unwashed.com/uvworld/test.shtml the imagemap http://www.unwashed.com/uvworld/usa.shtml If anyone can solve this problem for me, I would gladly give them a link on the site or something, thanks again! |
|
#2
|
|||
|
|||
|
to popup a window when someone click a link put:
<a href="JavaScript URLpen('URL','','SPEC')"> where URL is the URL of the page you want to open on new window and SPEC is definition about your new window, example of SPEC : 'height=300 width=300 toolbar=1 location=1' you can put the following into SPEC: -height=value -width=value -toolbar=1/0(1 for yes and 0 for no) -scrollbars=1/0 -location=1/0 -status=1/0 -menubar=1/0 -resizeable=1/0 -copyhistory=1/0 dave join my newbie programmers community http://www.deja.com/~cyberdevelopers ------------------------------------ |
|
#3
|
|||
|
|||
|
Just testing...
javascript:Open Javascript URLpen |
|
#4
|
|||
|
|||
|
Ah... hello, moderator, DevShed administrators. Can we do something about the text parsing here?
Replacing certain combinations of text with a cute little graphic is fine for AOL, but we're tying to have technical conversations here, and it kind of gets in the way. Dave here just tried to post some code showing how to do a Javascript operation using a colon and a lower-case "o" together, but the form handler chose to replace it with a graphic. Or is there some tag combination we can use to turn off the graphics in our posts? |
|
#5
|
|||
|
|||
|
To solve the problem, use:
<script language="JavaScript"> function WinOpen() { msg=open("null.htm","_new","toolbar=no,directories=no,menubar=no"); } </script> and <a href="coords.map" target="_new" onclick="WinOpen()"><img ISMAP src="picture.gif"> Notice "_new": by clicking on a map you FIRST trigger JavaScript which opens the popup window containing null.htm (put "Please wait..." in it if you like), and then IMAGEMAP fills that window. I guess that's what you wanted. Regards, Goran |
|
#6
|
|||
|
|||
|
To rycamor
Onw way to get around it is instead of using the ":" character itself, use the HTML code, i.e., : Example using :o - ![]() Example using - ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Imagemap + Window Popup... HOW? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|