Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Please help with hot spot link

Posted on 2006-07-06
3
Medium Priority
?
329 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 2000 total points
ID: 17056170
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
ID: 17056357
it works and it is a lifesaver - thank you!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 17056386
Wow.  Lucky guess on my part.  

Glad it works.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
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…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Screencast - Getting to Know the Pipeline
Suggested Courses

927 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