SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Pop-up blockers

Hybrid View

  1. #1
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Pop-up blockers

    What type of 'pop-ups' do pop-up blockers block?

    I have a password prompt that works through window.showModalDialog() and cookies. The script will return the user to a home page if the window is null, ie:

    Code:
    ...
    var w = window.showModalDialog( 'pass.html', etc...);
    if( w ) {
      //do something
    }
    else {
      location.replace('index.html');
    }
    ...
    Anyway, I have a user that can't get into the 'secured' (heh, keeps the corporate types out) area because they don't get the pop-up and are immediately returned to the home page.
    The user has IE5.5, but they're not at my location, so I can't check their PC.
    I did confirm that the script works fine in IE5.5 on other PC though.

    Given all that, does it seem that there could be a pop-up blocker blocking the dialog, or could it be something else, like browser settings?

    Thanks for any help

  2. #2
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Ok, problem solved. It was a pop-up blocker (just took a while to convince them that they had one )


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
  •