Announcement

Collapse
No announcement yet.

Popup Windows

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

  • Popup Windows

    Hi, all

    I would like to have popup windows on my forum home page for some announcement that I want to make. I have one popup windows java script source so I put them in a forum home templates. (I don't have any knowledge about java script)

    However, this thing pops up in a different windows everytime when I reload forum home page. Anybody know how to set the popup windows stay in a one single windows rather popsup in a different one?

    Java script I have is this one.

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    }
    //-->
    </script>
    </head>

    <body bgcolor="#FFFFFF" onLoad="MM_openBrWindow('http://www.somewhere.com/popup.html','','width=300,height=400')">
    </body>
    </html>
    Can someone help?

  • #2
    How about:
    Code:
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    }
    //-->
    </script>
    </head>
    
    <body bgcolor="#FFFFFF" onLoad="MM_openBrWindow('http://www.somewhere.com/popup.html', 'myWindow', 'width=300,height=400')">
    </body>
    </html>
    I think you just need to give the window a name.
    Chen Avinadav
    Better to remain silent and be thought a fool than to speak out and remove all doubt.

    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

    Comment


    • #3
      Thanks for help.

      It works like a charm.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X