Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    erk
    erk is offline
    New to the CF scene
    Join Date
    Sep 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question new window resizing HELP!

    i have an imagemap, and i don't know where to write in the specific size for the new window popping up...if it's possible? i'm having just an "add to cart" page pop up and i don't need a big space...
    thanks for any help!!!

    <area shape="poly"#$36.95 decorated mixed
    coords="590,313,431,309,430,325,565,334,581,315,581,313,581,313,581,313" href="b3695.html" title="$36.95 decorated mixed" target="_blank" />
    <area shape="default" nohref="nohref" alt="" />
    </map>

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,030
    Thanks
    0
    Thanked 247 Times in 244 Posts
    Code:
    function doOpen(url, target, w, h){
      var win = window.open(url, target, "width="+w+", height="+h);
      win.focus();
      return false;
    }
    ...
    <area ... href="b3695.html" target="_blank" onclick="return doOpen(this.href, this.target, 800, 600)" />


  •  

    Posting Permissions

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