Solved

Please help with hot spot link

Posted on 2006-07-06
3
321 Views
Last Modified: 2012-05-05
I have an image with hotspots using Dreamweaver 8.  I am trying to open a new window.  This code works fine without an area map, but falls to pieces when I"m trying to use the image map.  I need to open a new window.

Without the image map, here is the code working fine.  I don't know how to adjust this.

do I

      put part or all of this in front of the <area shape="rect" coords="1,1,233,167" href="#">  (I wouldn't think so, since there is a place for href=)

do I

    have to leave off quotes or other such parts?    

I'm having trouble knowing if I need single quotes, double quotes etc.  In fact, I think I need an example.  


I did try using Behaviors just now.  I did get a window to open, but it opens before a click (just on rollover - which is not so terrible but I prefer a click) but the rest of the samples I have, such as the code given, open it at the top left on the browser window.  This opens the window right in the middle - not acceptable for this project.



Here is the code that works without an image map (such as highlighting and then linking text)

<a href='javascript:var deliverywin=window.open("filename.html","deliverywin","width=523,height=540,top=0,left=0 ,resizable=no,scrollbars=no,no")'></a>

Please, if you don't mind, could someone create the entire code sequence using the area shape co-ordinates as a sample.  Thank you

0
Comment
Question by:linque
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
Hi linque,

It may be easier on all of us if you post a link to the page in question, but here goes:

<area shape="rect" coords="1,1,233,167" href='javascript:var deliverywin=window.open("filename.html","deliverywin","width=523,height=540,top=0,left=0 ,resizable=no,scrollbars=no,no")'>

Rouchie, if you are checking tonight/tomorrow, please take a look at the above...
0
 

Author Comment

by:linque
Comment Utility
it works and it is a lifesaver - thank you!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Wow.  Lucky guess on my part.  

Glad it works.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now