SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru DeNasio's Avatar
    Join Date
    May 2001
    Posts
    830
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    No popup in IE7?

    Hello,

    I use the following popup codes in my sites:

    Code:
    function Popup(p,r,w,h) {
    OpenWin = this.open(p,r,"scrollbars=1,top=50,left=100,width="+w+",height="+h);
    }
    Code:
    <a href="pophelp.php?item=test" onclick="Popup(this.href,'test',300,300);return false;" target="_blank"><img src="images/help.gif" border="0"></a>
    The popup is displayed in FF3 but in IE7 it opens a new window. Are the popup settings of my IE7 not correct? Or does the code above not display a popup window in IE7?
    Ballot-Box.net - free polls for webmasters
    FormLog.com - free form processor

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,719
    Mentioned
    103 Post(s)
    Tagged
    4 Thread(s)
    Works for me
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    Function Curry'er JimmyP's Avatar
    Join Date
    Aug 2007
    Location
    Brighton, UK
    Posts
    2,006
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works for me too...

    It's probably just a setting in the browser...
    James Padolsey
    末末末末末末末末末末末末末末末末末末末
    Awesome JavaScript Zoomer (demo here)
    'Ajaxy' - Ajax integration solution (demo here)

  4. #4
    SitePoint Guru DeNasio's Avatar
    Join Date
    May 2001
    Posts
    830
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, it was my settings!
    Ballot-Box.net - free polls for webmasters
    FormLog.com - free form processor


Bookmarks

Posting Permissions

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