Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: window property

  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    156
    Thanks
    0
    Thanked 0 Times in 0 Posts

    window property

    On load if I want to change the size of an window
    If I will write window.resizeTO(x,y) it will change the size
    In same manner what if I want to remove toolbar, menubar what should I do?

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I would suggest you go over to the MSDN Library and read up on what changes were made with the release of SP2 to secure against window property exploits...

    .....Willy

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    To be sure it's here. You can't alter the window to add or remove things that already exist in any browser window, that's not new with SP2 but even more capabilities that were previously present have been removed in SP2 and for users who have Firefox we can (and often do) prevent your script from even accomplishing the resize the window bit too.

    In short you'd do better to figure out how you can do what you need to do within the browser window that the user enters your site using.
    Check out the Forum Search. It's the short path to getting great results from this forum.


  •  

    Posting Permissions

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