Lunarpages Web Hosting Forum

Author Topic: New Window  (Read 2471 times)

Offline zeldagc

  • Space Explorer
  • ***
  • Posts: 6
    • http://www.lunarpages.com/zeldagc
New Window
« on: August 17, 2001, 01:18:00 PM »
On my site, when it opens, i want it to open an HTML file by itself immediatly like an ad so the user will see it first. Can anyone help? Please email a response, since I don't come here very often. Thanks


 zeldagc@tropicalstorm.com

 

stephan

  • Guest
New Window
« Reply #1 on: August 17, 2001, 05:53:00 PM »
Put this in your html, (not in the head section, in the body section)

<script language="JavaScript"><!--
//-Hide

function openWindow(url){
        aWindow = window.open(url,"_blank", 'menubar=no,status=no,toolbar=noresizable=no,width=180,height=175,titlebar=no,alwaysRaised=yes');
}
openWindow('http://www.something.com');

//Done hiding -
// --></script>

[ August 18, 2001: Message edited by: Stephan ]