Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

What code can i insert into an html document for the following scenario:?

I need to setup a few links that hide the internet explorer top menu.. I only want the frames to appear when the screen pops up. For example CLICK HERE then a pop up screen shows but it is only 100x100 size without the IE navigation.

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    You'll notice that both of these links open reuse the same browser window (called "MyPopupWindow"). That way you don't have to worry about openiing too many windows for the user.

    <html>

    <head>

    <title>My title goes here</title>

    <script language="Javascript">

    function openIt(PageURL) {

    WindowName="MyPopUpWindow";

    settings="toolbar=no,location=no,directories=no,"+

    "status=no,menubar=no,scrollbars=yes,"+

    "resizable=yes,width=100,height=100";

    MyNewWindow=window.open(PageURL,WindowName,settings);

    }

    </script>

    <body>

    <a href="#" onclick="openIt('http://www.mydomain.com/myfile.html');%22%3Emyfile...

    <a href="#" onclick="openIt('http://www.mydomain.com/myotherfile.html');%22%3Em...

    </body>

    </html>

Still have questions? Get your answers by asking now.