-----Original Message-----
Hello all,
Howdy.
Just curious if there is an easy way in FP 2002 to
quickly change screen resolutions while building pages.
For example, by default I run in 1024x768 but I prefer to
build all my web pages in 800x600. Currently I am having
to manually change my monitor resolution in Settings when
I edit pages. Is there an easier way to do this? Is
there anything in FP that allows me to change the
resolution the pages are built in? Thanks much.
Pick a convenient page, such as the home page on your
local server, and add the following script.
<script>
<!--
function sizeWindow(awid,ahgt){
if (navigator.appName.substring(0,9)=="Microsoft"){
window.resizeTo(awid,ahgt);
}else{
window.outerHeight=ahgt;
window.outerWidth=awid;
}
}
// -->
</script>
Then, add a couple of links like this:
<a href="javascript:sizeWindow(800,600);">800x600</a>
<a href="javascript:sizeWindow(1024,768);">1024x768</a>
This provides a very easy way of setting your browser
window to exactly 800x600 or 1024x768 pixels for testing.
*Don't* set your entire computer's display area to 800x600
when running FrontPage. After you subtract the width of
the Folder list and a Task pane, you're actually
simulating a Pocket PC screen.
FrontPage 2003 has some nice features for "locking" the
size of the editing window to whatever browser width you
want to target. Of course, locking a window size in
FrontPage still has no effect on the window size visitors
will use. It's only a guide.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------