How to Make a Pop-Up Window Resizeable in Explorer 7

104 32
    • 1). Launch a code editing program such as Notepad (which comes with the Windows operating system) on your computer.

    • 2). Open the File menu and choose "Open." Navigate to the folder that contains the Web page that will have the pop-up link. Double-click the file to open it in the editor.

    • 3). Type the following code before the </head> tag:

      <script language="javascript" type="text/javascript">

      <!--

      var newwindow;

      function popup(url)

      {

      newwindow=window.open(url,'name','resizable=yes');

      if (window.focus) {newwindow.focus()}

      }

      // -->

      </script>

      Change "name" to a descriptive name for your pop-up window.

    • 4). Enter the following code where you want to place the link to the pop-up:

      <a href="/links/?u=javascript:popup('page.html');">Link</a>

      Change "Link" to a descriptive link name such as "Launch Pop-up" or "Enter Website." Replace "page.html" with the actual file name or Web page address of the page that will display in the pop-up.

    • 5). Open the "File" menu and select "Save" to save the file.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.