Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Mar 2005
    Posts
    114
    Thanks
    4
    Thanked 3 Times in 3 Posts

    popup on command

    I know in this day and age of popup blockers its getting harder to allow users to see these things. In my site however in order to get help on a form (i.e. if you do not know what to enter into the input area) you can click on a little [?] button beside the input area. I want to make a popup occur that displays help for that subject.

    So if I were to just make a <a href="blah.html" onclick="document.open(whatever)"> would a popup blocker block that? Since the user is clicking on the link I would think not however I have been wrong many times before.

  • #2
    Regular Coder
    Join Date
    Jul 2005
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Some might some might not. The only way to tell is to try it.

    I'd do it like this:
    Code:
    <a href="whatever" target="help">
    That way you're not relying on the user having JavaScript enabled and it's less likely to trigger a popup blocker.


  •  

    Posting Permissions

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