Full screen but keep Title bar

Discussion in 'JavaScript' started by james369, Jun 1, 2007.

  1. #1
    Hi,
    I want to open a full screen (or near) image but don't like use Alt+F4 to close the window. So is it possible to keep the Title bar so that I can close the window from the close icon.
    Thanks a lot for someone help me.
     
    james369, Jun 1, 2007 IP
  2. james369

    james369 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,
    My aim is to open a full screen image and with a CLOSE button or close the window thru the close icon on the Title Bar.

    What I can do now is open a full screen window and with program (see below) so that I have a full screen and a CLOSE button but the image can't extend to full screen. Appreciate any body could improve the program or any better idea.

    <html>
    <HEAD>

    <style type="text/css" media="screen">
    body {
    margin: 0px;
    padding: 0px;
    background-color: #000;
    color:#fff;
    background-image: url(image.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    }

    a {
    float: right;
    color: #fff;
    background-color: #000;
    margin: 20px;
    padding: 3px 7px;
    text-decoration: none;}

    a:hover {color: #fcf;}

    </style>
    </HEAD>

    <BODY >

    <a href="javascript:window.close();">CLOSE</a>

    </body>

    </html>
     
    james369, Jun 1, 2007 IP