|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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.
![]() |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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? |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
No problem. Oh, Ace Popup is free by the way.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > creating pop up Javascript windows in dreamweaver while using hotspots |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|