How to Control Size of Desktop Web Page Display ???

Discussion in 'Software' started by akm, Apr 2, 2006.

  1. akm

    akm Sergeant

    Am using an Outlook calendar saved as a web page for display on my desktop ( Dell 8200 / XPpro2002 ) and would like to make the image a bit smaller (at the side margins) than the screen so I can access a portion of the actual desktop screen for right-click functions etc.

    Below is that main page html which I have edited for various frame size adjustments (know a little bit about html tags etc but dont use enough to keep update and remember what I did from one month to the next. :)

    Any ideas on how I might edit the below html to make the entire page display smaller than the desktop screen ?

    <html><head><META HTTP-EQUIV='Content-Type' content='text/html; charset=utf-8'>
    <title>Calendar</title>
    <script language='JavaScript'>
    var version = navigator.appVersion;
    var appName = navigator.appName;
    var isIE;
    var IsWin = (version.indexOf('Win') > 0) ? true:false;
    var IsMac = (version.indexOf('Mac') > 0) ? true:false;
    var NVersion = version.indexOf('MSIE');
    var IEVersion = 0;
    if( NVersion > 0){
    isIE = true;
    IEVersion = version.substring(NVersion + 5, NVersion + 6);
    } else if (appName.substring(0,9) == 'Microsoft'){
    isIE = true;
    } else {
    isIE = false;
    }
    function Is(){
    var agt = navigator.userAgent.toLowerCase();
    this.major = parseInt(navigator.appVersion);
    this.minor = parseFloat(navigator.appVersion);
    this.nav = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1)
    && (agt.indexOf('compatible') == -1)));
    this.nav2 = (this.nav && (this.major == 2));
    this.nav3 = (this.nav && (this.major == 3));
    this.nav4 = (this.nav && (this.major == 4));
    this.nav4up = this.nav && (this.major >= 4);
    this.navonly = (this.nav && (agt.indexOf(';nav') != -1));
    this.ie = (agt.indexOf('msie') != -1);
    this.ie3 = (this.ie && (this.major == 2));
    this.ie4 = (this.ie && (IEVersion == 4));
    this.ie4up = this.ie && (IEVersion >= 4);
    }
    var is;
    var isIE3Mac = false;
    if ((navigator.appVersion.indexOf('Mac')!=-1) &&
    (navigator.userAgent.indexOf('MSIE')!=-1) &&
    (parseInt(navigator.appVersion)==3))
    isIE3Mac = true;
    else
    is = new Is();
    function adjustSize(){
    if ((null != document.all) && top.IsWin){
    var monthdoc = top.frames[3].document;
    var size = parseInt((monthdoc.body.clientWidth - 14) / 7);
    if(size > 35){
    var divall = monthdoc.all.item('onecol');
    if(divall != null){
    for(i = 0; i < divall.length; i++) {
    divall.style.width = size;
    }
    }
    }
    }
    }
    </script>
    <frameset rows='60,25,*,25' frameborder=0px framespacing=0px border=0px>

    <!-- src='2006m4h.htm' ...change 4 to current month # -->

    <frame name=calheader src='2006m4h.htm' marginwidth=0px marginheight=0px
    scrolling='no'>

    <!-- "cols=85%" -->
    <frameset cols='85%,*'>
    <frame name=monthheader src='monthhd.htm' marginwidth=0px marginheight=
    0px scrolling='no'>
    <frame name=detailsheader src='detailhd.htm' marginwidth=0px
    marginheight=0px scrolling='no'>
    </frameset>

    <!-- "cols=85%" -->

    <frameset cols='85%,*'>

    <!-- src='2006m4h.htm' ...change 4 to current month # -->

    <frame name=month src='2006m4.htm' marginwidth=0px marginheight=0px>
    <frame name=details src='2006d4.htm' marginwidth=0px marginheight=0px>
    </frameset>
    <frame name=calfooter src='footer.htm' marginwidth=0px marginheight=0px
    scrolling='no'>
    <noframes>
    Sorry, this document requires a browser which can support the use of frames.
    </noframes>
    </frameset></html>
     
  2. akm

    akm Sergeant

    Any suggestions on where else to ask this question ?
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds