Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Take Navigation Bar Away


Message #1 by helga@k... on Thu, 14 Mar 2002 07:06:42
Hi,

I believe that it is not possibel to do this in an open window,
BUT
you might then let the first page on your website open a
new window which then has the features you want.

It is the open method of the window object, you call it
with three parametres:
a) URL
b) Name (of window)
c) features

Actually there is a forth parametre, but you probertly dont need
it now.

You might write:

function redirectToActualStartPage() {
  var URL        = 'myActualIndexPage.html';
  var name      = 'MYSITE';
  var features = '';
  objMyWin    = window.open(URL, name, features);
}

<BODY onload="redirectToActualStartPage()">

Actually on the internet there are places which can help
you customizing your window and even genereate the
javascript code you need! Have a look here:

http://www.dynamicdrive.com/dynamicindex8/popwin.htm

Hope this helped! :-)

Sten Hougaard
EDB Gruppen
Application developer/web-designer




                                                                                                                   
                    helga@k...                                                                                 
                    co.za                To:     "JavaScript HowTo" <javascript_howto@p...>                
                                         cc:                                                                       
                    03/14/2002           Subject:     [javascript_howto] Take Navigation Bar Away                  
                    08:06 AM                                                                                       
                    Please respond                                                                                 
                    to "JavaScript                                                                                 
                    HowTo"                                                                                         
                                                                                                                   
                                                                                                                   




To all;

I;m urgently looking for the code, whether HTML of JavaScript, to take the
navigation bar away, thus when the user enters our site, his navigation
bar (Back, Stop, etc) dissappears and he sees our so-called navigation bar
which is purely images on a top frame.

Your urgent help will be appreciated.

Thanks
Helga
$subst('Email.Unsub').




  Return to Index