1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    I want certain linked pages to open in a new window in which the browser has no buttons or scroll bars etc.

    I have tried to use the following script, which is giving the correct size window, but the new window still shows all the buttons, address bar and scroll bar. This is in the <head> of the document:

    <!-- Hide from old browsers
    function floater() {
    // Stop hiding from old browsers -->

    The actual link is then further down in the text:

    <A onClick="floater()" HREF="slideshow.htm"
    TARGET="floater">AssetLink Methodology</a>

    Any suggestions would be appreciated.


    Thanks a stack, with those additional commands it's now working perfectly.

    [This message has been edited by Errol (edited 12-18-99).]
  2. #2
  3. No Profile Picture
    Vernon Frazee
    Devshed Newbie (0 - 499 posts)
    <script language="JavaScript">
    function floater() {
    window.open("","floater",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizab le=0,width=640,height=480,left=50,top=25 ');

    <A onClick="floater()" HREF="slideshow.htm" TARGET="floater">AssetLink Methodology</a>


    Note: It appears that string beginning with window.open is going to wrap no matter what I do. The string: ');
    on the next line down belongs up at the end of the windows.open line.

    [This message has been edited by Vernon Frazee (edited 12-18-99).]

Similar Threads

  1. iFrame resize with browser window -- with a Twist
    By atorgVA in forum HTML Programming
    Replies: 8
    Last Post: October 22nd, 2003, 09:25 PM
  2. Replies: 4
    Last Post: October 7th, 2003, 11:11 PM
  3. Replies: 1
    Last Post: April 30th, 2003, 12:48 PM
  4. How to limit user to open just 1 browser window?
    By hy503web in forum PHP Development
    Replies: 5
    Last Post: February 23rd, 2002, 08:46 PM
  5. cleanup if browser window closed
    By christeen in forum PHP Development
    Replies: 9
    Last Post: January 16th, 2002, 05:17 AM

IMN logo majestic logo threadwatch logo seochat tools logo