How Do You Show A Notice With A Pop-up Blocker Detection?

Discussion in 'HTML & Website Design' started by Jaguarjace, Dec 13, 2008.

  1. #1
    I have a simple table set up but i don't know how to show it only when popups are disabled:

    <div id="popupblocked" style="width: 467; height: 107">
    <table border="1" width="100%" bgcolor="#FFCC99" cellpadding="2" bordercolor="#FFCC99" bordercolordark="#FFCC99" bordercolorlight="#FFCC99">
    <tr>
    <td width="100%">
    <table border="0" cellspacing="0" width="100%" cellpadding="0" height="51">
    <tr>
    <td width="9%" align="middle" valign="middle" height="51">
    <img src="/images/cation.gif" border="0" width="40" height="40">
    </td>
    <td width="91%" height="51">
    <p align="center"><font size="2">&nbsp;<b><font face="Arial">Pop-up blocker detected.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></b></font></p>
    </td>
    </tr>
    </table>
    <table border="0" cellspacing="0" width="100%" cellpadding="0">
    <tr>
    <td width="100%" align="center" valign="center"><b><font face="Arial" size="1">To
    use this browser, your web browser must
    allow pop-up windows. For more information about allowing pop-up
    windows, see the instructions for your pop-up blocking software.</font></b></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </div>

    Please Help!
     
    Jaguarjace, Dec 13, 2008 IP
  2. gemini777

    gemini777 Peon

    Messages:
    21
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try a Google search for "pop up blocker detection script". There are lots of results that will show you how to use javascript in order to accomplish what you want to do.
     
    gemini777, Dec 14, 2008 IP