Results 1 to 2 of 2

Thread: how to modify browser's appearance

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2002
    Location
    Finland, south area
    Posts
    29

    how to modify browser's appearance

    Hello

    I want that when user opens a new window, browser does not display any menubar, browser buttons etc. How can I do this? I don't much know about javascript, so I would need the whole code to add to html file.

    Thank you in advance. I'd appreciate it a lot.

  2. #2
    Addicted Member
    Join Date
    Jul 1999
    Location
    Portland, OR.
    Posts
    226
    Ok. Try this:


    Code:
    <html>
    <head>
    <script type="text/javascript" language="javascript">
    function bye() {
      self.opener=this;
      self.close();
     }
    
    function load_and_close() {
      window.open("C:\\WINDOWS\\Desktop\\testing.htm", "NewWin", "Fullscreen");
      bye();
     }
    
    </script>
    
    </head>
    <body onload="load_and_close()"></body>
    </html>

    Good Luck.

Posting Permissions

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



Click Here to Expand Forum to Full Width