rivet Posted October 30, 2003 Posted October 30, 2003 I picked this script up but it does not work with safari... any suggestions? function resizeMain() { self.moveTo(0,0); if (parseInt(navigator.appVersion)>3) { if (navigator.appName=="Netscape") { top.outerWidth=self.screen.availWidth; top.outerHeight=self.screen.availHeight; } else top.resizeTo(self.screen.availWidth,self.screen.availHeight); } }
Anatoli Posted October 30, 2003 Posted October 30, 2003 It depends on DOM or JS engine Safari is using. Do you have Safari JS syntax?
Leb i Sol Posted October 30, 2003 Posted October 30, 2003 what do mean by "full screen"? chromeless windows? or just a window that fits the resolution of user screen?
Garry Claridge Posted October 30, 2003 Posted October 30, 2003 I've done some testing and found that "window.resizeTo()" and "window.resizeBy()" are not working with Safari However, "screen.availWidth" and "screen.availHeight" are! All the best. Garry
Fitch Posted October 30, 2003 Posted October 30, 2003 I have this as a bookmark in my Safari bookmarks bar: javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);
Recommended Posts
This topic is 7764 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now