HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 20th, 1999, 12:30 AM
Jay
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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!

Reply With Quote
  #2  
Old July 20th, 1999, 05:58 AM
dave
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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
------------------------------------

Reply With Quote
  #3  
Old August 16th, 1999, 09:37 AM
rycamor
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Just testing...

javascript:Open

Javascript URLpen

Reply With Quote
  #4  
Old August 16th, 1999, 10:04 AM
rycamor
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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?

Reply With Quote
  #5  
Old January 27th, 2000, 04:41 PM
Kuky Kuky is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2000
Location: Sv. I. Zelina, Prigorje, Croatia
Posts: 1 Kuky User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Kuky
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

Reply With Quote
  #6  
Old January 27th, 2000, 05:34 PM
Vernon Frazee Vernon Frazee is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 1999
Posts: 25 Vernon Frazee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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 -

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Imagemap + Window Popup... HOW?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway