Technology Microsoft Software & solutions

How to Remove an Address Bar in HTML

    • 1). Open the application that you use for HTML page editing by double-clicking the program icon listed on your computer's desktop or by selecting the application from the "Program Files" sub-menu of the "Start" menu.

    • 2). Open the desired Web page in the editor. Most editors will provide a shortcut HTML "page open" button on the primary application window, or alternatively through the "File" and "Open" menu dialogue.

    • 3). Enter the following JavaScript text between the opening and closing "body" tag elements of the HTML code. This code provides the foundation for displaying a pop-up window when the Web page is opened.

      <script language="javascript">
      function openWebsiteWindow()
      {
      }
      </script>

    • 4). Add the predefined Javascript method to open another HTML window, between the opening and closing brackets of the code entered in Step 3. This code will open a window--without the address bar--that is 400 pixels by 375 pixels in size.

      window.open ("myNotificationWindow.html", "My Notification Window", "height=400,width=375,status=no,toolbar=no,menubar=no");

    • 5). Edit the HTML body tag to call the Javascript method defined previously when the Web page is loaded. The body tag's "onload" attribute is not normally defined, so you'll need to edit the HTML body tag to read:

      <body onload="openWebsiteWindow();">

    • 6). Save the Web page by selecting the "File" and "Save" menu buttons on the HTML editor. The Web page will now display the pop-up window without the address bar when then window is loaded.

Related posts "Technology : Microsoft Software & solutions"

How Do I Get Past the Main User Account Password on Windows XP?

Microsoft

How to Install the Windows XP on a Dell Latitude D600

Microsoft

How to Remove Enfocus PitStop

Microsoft

How to Uninstall MS Defender Vista

Microsoft

How to Upgrade From DirectX 9 to DirectX 10

Microsoft

How to Disable a Windows Update Virus

Microsoft

What Is Error 1720?

Microsoft

How to Cut Window Trim With a Miter Saw

Microsoft

How to Show the Grid on the MIDI Region in Protools

Microsoft

Leave a Comment