Forum Moderators: open
But the thing is, I don't want it to do it for a popup page and that's all I can find it for. I want it to do this when you enter the page. I didn't want to make a "click here to enter" dummy page that basically pops it up and hoards all the PR.
Any suggestions?
Thanks.
You can set the width and height:
e.g. window.outerWidth = ( window.screen.availWidth );
May need some adjustment to get it to do what you want across multiple browsers, but you get the idea.
Except for a pop-up, you can't change the scrollbars in javascript unless you change security privilages or sign your scripts. Either way, your visitor would be presented with a dialog box saying "do you want to allow this?", and probably say no. Not what you want to achieve either way.
The only way I know is to have the site in a frame in a frameset, and controll the scrolling with the <frame> tag.
Shawn