1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

How to create a web page with no Tool bars/address bar?

Discussion in 'Software Development' started by DMC2, Oct 19, 2003.

Thread Status:
Not open for further replies.
  1. DMC2

    DMC2 Thread Starter

    Joined:
    Mar 25, 2002
    Messages:
    264
    Hi,

    How do I create a web page that does not have a menu, standard buttons, address bar and links bar.

    Just like some popup ads. I just need to make a page to provide a small bit of information so toolbars/addressbar aren't necessary.

    Do I use HTML, JavaScript or something else?

    Thanks
     
  2. khaki

    khaki

    Joined:
    Jul 26, 2003
    Messages:
    2,431
    hi DMC2.....

    you can do it a number of ways.

    below are 2 examples that could be used to create informational "pop-up style" windows for the purpose that you described.

    the <a> link version has an in-line javascript onClick event that has all attributes disabled......

    while the button version uses the onClick event to call a javascript function that is located in the head of the document.

    either method will work.... and you can enable/disable any (or all) attributes as needed.

    :) khaki

    <html>

    <head>

    <title></title>

    <script type="text/javascript">
    function openWin()
    {
    window.open("http://forums.techguy.org/t173064/s01c4742af9b8e88efed278730b9ea0ff.html", "newWindow", "height=400, width=600, left=50, top=50, toolbar=yes, location=yes, directories=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=yes")
    }
    </script>

    </head>

    <body>

    <a href="http://forums.techguy.org/t173064/s01c4742af9b8e88efed278730b9ea0ff.html" onclick="window.open(this.href, 'newWindow', 'height=400, width=600, left=50, top=50, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no,'); return false">Link to open new window</a>

    <br><br>

    <form>
    <input type="button" value="Button to open new window" onclick="openWin()">
    </form>

    </body>

    </html>
     
  3. DMC2

    DMC2 Thread Starter

    Joined:
    Mar 25, 2002
    Messages:
    264
    I'll give it a try.

    Many thanks!
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - create page Tool
  1. openreel
    Replies:
    0
    Views:
    261
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/173064

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice