Results 1 to 4 of 4

Thread: fullscreen in IE?

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    UK, Bedfordshire
    Posts
    49

    Question

    does any one know how to put internet explorer into full screen mode through JScript or VBScript? (not with the -k prompt)?

    Thanx?
    Thanx, for your reply(s)

    Zhang Tian Hao
    Visual Studio Enterprise 6.0 SP 4
    [email protected]

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    Hi ()InDiGo)))>

    There is no simple flipto full screen in javascript but you can do it by using finding out the resolution of the screen, move the browser to 0,0 and then making it the same size as the screen. use the following function to do this

    Code:
    <SCRIPT language="Javascript">
    function maximize()
    {
    var Height = screen.height;
    var Width =screen.width;
    
    self.moveTo(0,0);
    self.resizeTo(Width,Height);
    }
    </SCRIPT>
    This will do it

    Hope it helps

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    UK, Bedfordshire
    Posts
    49
    there is a function called "put_fullscreen" in msdn.microsoft.com, but i couldn't get it to work, as i know practily nothing about Javascript (except the C bits .

    but i guess i'll use your method...


    thanx
    Thanx, for your reply(s)

    Zhang Tian Hao
    Visual Studio Enterprise 6.0 SP 4
    [email protected]

  4. #4
    New Member
    Join Date
    Aug 2000
    Location
    South Africa
    Posts
    13

    how to make IE5 go to fullscreen.

    this works well


    window.open("yourWebpage.html","","directories=0,scrollbars=1,fullscreen=yes,location=0,menubar=0,st atus=0,titlebar=0")
    Stefan SA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width