SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Popup window

  1. #1
    SitePoint Guru afridy's Avatar
    Join Date
    Mar 2007
    Posts
    960
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Popup window

    Hai folks,

    My people search engine website display results in a table.
    every resulted record have a map icon.
    when user clik the map icon i want to show the google map in a popup window. so i wanna no how to create a popup window that does not get blocked by popup busters.

    Please Help

  2. #2
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    You cannot bypass all the popup blockers. However, if you use progressive enhancement and graceful degradation techniques the links will probably still function as plain links even if JavaScript is disabled.

  3. #3
    Mouse catcher silver trophy
    Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,837
    Mentioned
    114 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by afridy View Post
    My people search engine website display results in a table.
    every resulted record have a map icon.
    when user clik the map icon i want to show the google map in a popup window. so i wanna no how to create a popup window that does not get blocked by popup busters.
    The only way to get around all pop-up blockers is not to force your link to open in a new window. And in most cases, that's the best thing to do anyway, in terms of general user-friendliness.

    If you do insist on using pop-ups, the best way is to have a plain and simple <a href="whatever.htm"> link (with no target attribute), and then use unobtrusive Javascript to define the pop-up settings. That will work with most pop-up blockers, but I can't promise that it will get past them all!

  4. #4
    SitePoint Guru afridy's Avatar
    Join Date
    Mar 2007
    Posts
    960
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks folks for the valuable comments !!!


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
  •