Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

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 November 18th, 2004, 07:01 PM
syfx-media syfx-media is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 2 syfx-media User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation creating pop up Javascript windows in dreamweaver while using hotspots

hi folks, im in the middle of a complete site re-design and i would like to use a pop up window to display some information, ive tryed countless scripts, following them to the minutist detail. but to no avail. im using dreamweaver mx's hotspots instead of a traditional link, and i think this is causing the problem, i'd rather use hot spots than a link from several seperate images as this causes my frames to go crazy, plus i would like to understand how, and if, it is possible to use this kind of script with hotspots. thank you in advance for any replies.

Reply With Quote
  #2  
Old November 18th, 2004, 07:28 PM
BonRouge's Avatar
BonRouge BonRouge is offline
Winemaster
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Sendai, Japan
Posts: 1,354 BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 3 h 18 m 20 sec
Reputation Power: 86
If you're using Dremaweaver, choosing taget="_blank" will do it for you.

Your code will look something like this :

Code:
<img src="picture.jpg" border="0" usemap="#Map" />
   <map name="Map" id="Map">
     <area shape="rect" coords="31,31,54,48" href="otherpage.htm" target="_blank" />
   </map>


If you want the pop-up to be in a certain position or a certain size, there's a bit more to it - you need to use some javascript. A bit like this :

Code:
<img src="picture.jpg" usemap="#Map" alt="" />
 <map name="Map" id="Map">
   <area shape="rect" href="#" coords="31,31,54,48" onclick=window.open("http://cheers-sendai.com",'table','height=100, width=100, top=200, left=200') />
 </map>
 </div>


I hope this helps.

Last edited by BonRouge : November 18th, 2004 at 08:20 PM.

Reply With Quote
  #3  
Old November 19th, 2004, 05:02 PM
Syngin Syngin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Windsor Ontario
Posts: 155 Syngin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 h 6 m 36 sec
Reputation Power: 8
Send a message via MSN to Syngin
Ace Popup is also really handy. Its a little program that you enter your popup conditions in and it generates the code. Very handy.
http://www.cgiscript.net/site_software.htm
__________________
Where are we going and why am I in this handbasket?

Reply With Quote
  #4  
Old November 21st, 2004, 07:21 PM
syfx-media syfx-media is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 2 syfx-media User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks for the replies guys, and my apologies for my lateness on this reply, finally decided to bite bullet and chop up the image and not use hot spots, for those of you intrested this was the site i was working on. thanks again for your prompt replies.

http://www.syfx-media.co.uk

Reply With Quote
  #5  
Old November 21st, 2004, 07:34 PM
Syngin Syngin is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Windsor Ontario
Posts: 155 Syngin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 h 6 m 36 sec
Reputation Power: 8
Send a message via MSN to Syngin
No problem. Oh, Ace Popup is free by the way.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > creating pop up Javascript windows in dreamweaver while using hotspots


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 1 hosted by Hostway
Stay green...Green IT