Web Analytics Made Easy -
StatCounter no Multiple Popups - CodingForum

Announcement

Collapse
No announcement yet.

no Multiple Popups

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • no Multiple Popups

    hi,

    I have a link that when clicked opens a popup window, but if you press it again you now have two popup windows! bugger! I remember that there is a script to prevent this but I can't remember what it is? Anyone?

  • #2
    Give your window a name when you define it.

    Ex.
    Code:
    <script type="text/javascript">
    var new_win=window.open('URL','WindowName','attribute1,attribute2');
    </script>
    Basscyst
    Helping to build a bigger box. - Adam Matthews

    Comment


    • #3
      thanks a bunch!

      Comment

      Working...
      X