Resize a screen
May 28, 2007 12:00 AM
Here's a freebie for you - - some code from the KitchenSync product on our site:top.window.resizeTo(myWindowWidth,myWindowHeight);top.window.moveTo(myWindowLeft,myWindowTop);eg:top.window.resizeTo(800,600);top.window.moveTo(10,20);resizeTo takes a width integer and then a height integer, telling the topmost window to resize to that size - full screen would be screen.width, screen.heightmoveTo actually positions the window itself on your screen - 0,0, for full screen.We're thinking out loud here but since most published siles are in framesets, and the Lectora pages are pulled into the frame called contentframe, we're pretty sure we could insert a spacer in the top frame to push the content frame down and Pseudo center the contentFraem on the users screen. Just a thought - no testing yet--
Discussions have been disabled for this post