Annotation of bbecontainer/www/menu.htm, revision 1.1

1.1     ! moonwalk    1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
        !             2: <html>
        !             3: <head>
        !             4:   <link rel="STYLESHEET" href="styles.css" type="text/css">
        !             5:   <script type="text/javascript" src="menu.js"></script>
        !             6:   <title>BBEcontainer</title>
        !             7: <script>
        !             8: function Init()
        !             9: { 
        !            10:          var parseStyleAttr=function(prop) {
        !            11:                return parseInt( /([\d]+)px/.exec(prop) )
        !            12:        }
        !            13:        var content=document.body //document.getElementById('content_frame')
        !            14:        //content.style.paddingTop=0;
        !            15:        var style=window.getComputedStyle(content,null);
        !            16:        var h=( parseStyleAttr(style.marginBottom)+parseStyleAttr(style.marginTop) );
        !            17:        content.style.height= (
        !            18:                        window.innerHeight-
        !            19:                        //content.offsetParent.clientHeight-  content.offsetTop-  content.offsetParent.scrollTop  -
        !            20:                                h
        !            21:                        )+'px';
        !            22:        //alert(content.style.height)
        !            23:        //frame
        !            24:        content=document.getElementById('content_frame')
        !            25:        style=window.getComputedStyle(content,null);
        !            26:        h=( parseStyleAttr(style.marginBottom)+parseStyleAttr(style.marginTop)+
        !            27:        parseStyleAttr(style.borderBottomWidth)+parseStyleAttr(style.borderTopWidth) );
        !            28:                content.style.height= (
        !            29:                        window.innerHeight-  content.offsetTop-
        !            30:                                h
        !            31:                        )+'px';
        !            32: }
        !            33: </script>
        !            34: <!-- ************************** -->
        !            35: </head>
        !            36: <body style="margin-bottom:0;background-color:red;" onload="Init()">
        !            37: <div style="padding: 10px 0px;height:10%; line-height:90%;font-size: 30px; background-color: rgb(0, 208, 0);"
        !            38:  align="center"> BBEcontainer </div>
        !            39: <!-- MENU ********************************************************* -->
        !            40: <div class="main_menu" id="menu_element">
        !            41: <a class="main_menu_item" href="home.html" target="content_frame" onmouseover="show_submenu(this,'dummy');">home</a>
        !            42: <a class="submenu_title" href="#" onmouseover="show_submenu(this,'config');">configure</a>
        !            43: <a class="main_menu_item" target="content_frame" href="adapt_editor.html" onmouseover="show_submenu(this,'dummy');">adjust editor</a>
        !            44: <a class="main_menu_item" target="content_frame" href="use.html" onmouseover="show_submenu(this,'dummy');">use</a>
        !            45: <div class="submenu" id="dummy_submenu" style="display: block;">
        !            46: &nbsp;
        !            47: </div>
        !            48: <div class="submenu" id="config_submenu" style="display: none;">
        !            49: <a class="main_menu_item" target="content_frame" href="config_guide.html">guide</a>
        !            50: <a class="main_menu_item" target="content_frame" href="config.html">config dialog reference</a>
        !            51: </div>
        !            52: 
        !            53: </div>
        !            54: <br clear="all">
        !            55: <!-- ************************************************************** -->
        !            56: <iframe id="content_frame" name="content_frame"  src="home.html"
        !            57:        style="background-color:white;border:2px solid;width:100%;height:70%;margin-bottom:0px;"></iframe>
        !            58: </body>
        !            59: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>