www.webdeveloper.com
Results 1 to 4 of 4

Thread: External link Ok in FF not IE

  1. #1
    Join Date
    Feb 2004
    Posts
    24

    External link Ok in FF not IE

    I'm trying to place a "hotspot" with a link to MSN within an image that triggers a popup.

    My problem is that this works in Safari and FFm but not IE. Any ideas as to how to do this so it works in IE?

    Here is the link: http://mb2obs.com/popupfield.html

    The MB2 area should pull up the link to MSN and the rest of the graphic should trigger the pop-up (coupon.html)

    Thanks for helping!

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    pop-up3.js
    Code:
    function popcontact(URL) {
    var popup_width = 400	
    var popup_height = 400
    day = new Date();
    id = day.getTime();
    window["page" + id] = window.open(URL, id, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width='+popup_width+',height='+popup_height+'');
    }
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    
    <script src="popupfield_bestanden/pop-up3.js" type="text/javascript"></script>
    
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Test Document</title>
    </head>
    <body>
    <a href="coupon.html" onclick="popcontact(this.href);return false;">
    <img src="popupfield_bestanden/confirmation_BagTag.jpg" usemap="#map" width="330" border="0" height="327" />
    </a>
    <map name="map" id="map"><area shape="rect" coords="109,202,239,257" href="http://www.msn.com/"></map>
    </body></html>
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Feb 2004
    Posts
    24
    Thank you for showing me the way.
    Could you please tell me how to determine the coordinates of a hot spot rectangle?

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    coords="109,202,239,257"
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles