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 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2003
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Using "self.moveTo" to get window to far right

    Sorry, tried to delete thread, but permission denied.
    Last edited by Paul-Ecchi; 03-21-2004 at 09:07 PM.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    338
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    window.moveTo(screen.width - (window.outerWidth || document.body.clientWidth), 0);
    I *think* document.body.clientWidth is the IE-equivalent to window.outerWidth, but I'm not positive about that.

    Hope that helps!

    Happy coding!


  •  

    Posting Permissions

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