Quick popup question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dirty F
    Too lazy to set a custom title
    • Jul 2001
    • 59204

    #1

    Quick popup question

    What code would be best to have a popup box working in IE and FF for as many users as possible.
    Im not talking about a entry or exit popup but if someone clicks an info link on my site he should get a little box popping up with info.

    I know from my own surfing experience this stuff often don't work for me on many sites.

    Any suggestions?
  • wizhard
    Confirmed User
    • Jul 2006
    • 579

    #2
    Originally posted by Franck
    What code would be best to have a popup box working in IE and FF for as many users as possible.
    Im not talking about a entry or exit popup but if someone clicks an info link on my site he should get a little box popping up with info.

    I know from my own surfing experience this stuff often don't work for me on many sites.

    Any suggestions?

    javascript ?
    Laughing Out Loud

    Comment

    • Dirty F
      Too lazy to set a custom title
      • Jul 2001
      • 59204

      #3
      Originally posted by wizhard
      javascript ?
      Thats what im wondering...how many people have it turned off.

      Comment

      • lgranata
        Confirmed User
        • Aug 2005
        • 155

        #4
        I think most peopple have it on, there are too many sites using javascript everywhere..

        Here a little example to you....

        <script language=javascript>
        function Popup() {
        window.open('popuppage.html' ,'Name','width=350,height=600,resizable=no,scrollb ars=yes');
        }
        </script>

        <A href="#" onclick="Popup();">click here to popup</A>
        Leonardo, (icq: 246-764-290 - email: lgranata@fibertel|dot|com|dot|ar)

        :: Buenos Aires Sexy Girls ::

        Comment

        • Dirty F
          Too lazy to set a custom title
          • Jul 2001
          • 59204

          #5
          Originally posted by lgranata
          I think most peopple have it on, there are too many sites using javascript everywhere..

          Here a little example to you....

          <script language=javascript>
          function Popup() {
          window.open('popuppage.html' ,'Name','width=350,height=600,resizable=no,scrollb ars=yes');
          }
          </script>

          <A href="#" onclick="Popup();">click here to popup</A>
          Yup, pretty standard code. Ok thanks.

          Comment

          • wizhard
            Confirmed User
            • Jul 2006
            • 579

            #6
            Originally posted by Franck
            Thats what im wondering...how many people have it turned off.
            I've no accurate stats on this but I imagine very few surfers surf with js disabled. ActiveX of course can be another matter.
            Laughing Out Loud

            Comment

            • fuzebox
              making it rain
              • Oct 2003
              • 22379

              #7
              Originally posted by wizhard
              javascript ?
              A lot of popup blockers block the basic popup code, even on a mouseclick event

              Comment

              • dcortez
                DINO CORTEZ™
                • Jun 2003
                • 2145

                #8
                Javascript may be enabled, but popup blockers will block JS oriented to automatically spawning windows (like on form load).

                Comment

                Working...