home *** CD-ROM | disk | FTP | other *** search
/ PC Active 2009 March / PCA223.ISO / Software / WindowsLive / wlsetup-all.exe / wltinstall.msi / WltCore / HTML / 617 < prev   
Encoding:
Text File  |  2008-12-08  |  5.3 KB  |  188 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.     <meta http-equiv="X-UA-Compatible" content="IE=7" />
  4. <head>
  5.     <title></title>
  6.     <style type="text/css">
  7.         HTML
  8.         {
  9.             border: 0px;
  10.         }
  11.         BODY
  12.         {
  13.             margin: 0px;
  14.             border-style: none;
  15.             background-color: #FFFFFF;
  16.         }
  17.         INPUT, SELECT, TEXTAREA
  18.         {
  19.             font-family: Tahoma, Verdana, Arial, sans-serif;
  20.             font-size: 0.7em;
  21.             color: #373737;
  22.         }
  23.         TD, TH
  24.         {
  25.             font-family: Tahoma, Verdana, Arial, sans-serif;
  26.             font-size: 1em;
  27.             color: #373737;
  28.         }
  29.         .menuItem
  30.         {
  31.             height: 17px;
  32.             line-height: 1.3em;
  33.             color: #00156e;
  34.             padding-left: 17px;
  35.             cursor: default;
  36.         }
  37.         .menuItemOn
  38.         {
  39.             background-color: #d2eaf6;
  40.         }
  41.         .menuItemOff
  42.         {
  43.             background-color: Transparent;
  44.         }
  45.         .menuLabel
  46.         {
  47.             float: left;
  48.             overflow: hidden;
  49.             padding-right: 6px;
  50.             padding-bottom: 1px;
  51.             white-space: nowrap;
  52.         }
  53.         .menuItemSep
  54.         {
  55.             height: 1px;
  56.             font-size: 0;
  57.             overflow: hidden;
  58.             background-color: #919191;
  59.             margin: 3px 1px 5px 1px;
  60.         }
  61.         .menu
  62.         {
  63.             position: absolute;
  64.             background-color: #ffffff;
  65.             border: solid 1px #919191;
  66.             padding: 2px 2px 3px 2px;
  67.         }
  68.         .menuContainer
  69.         {
  70.             position: absolute;
  71.             font-family: Tahoma, Verdana, Arial, sans-serif;
  72.             font-size: 0.7em;
  73.         }
  74.         .menuContainer A
  75.         {
  76.             color: #0088e4 !important;
  77.             text-decoration: none !important;
  78.         }
  79.         .menuContainer A:visited
  80.         {
  81.             color: #0088e4 !important;
  82.             text-decoration: none !important;
  83.         }
  84.         .menuContainer A:hover
  85.         {
  86.             color: #0088e4 !important;
  87.             text-decoration: underline !important;
  88.         }
  89.     </style>
  90.  
  91.     <script type="text/javascript">
  92.     var menuHTMLTag="TR";
  93.     var ignoreHighlightClass="ignoreHighlight";
  94.     var highlightColor = "#d2eaf6";
  95.     var nohighlightColor=  "transparent";
  96.  
  97.     function hiliteActiveMenuItem()
  98.     {
  99.         if (event == null)
  100.             return false;
  101.             
  102.         source = event.srcElement;
  103.         
  104.         if (source.tagName=="TABLE")
  105.             return false;
  106.         
  107.         while (source.tagName != menuHTMLTag && source.tagName != "HTML")
  108.         {
  109.             source = source.parentElement;
  110.         }
  111.  
  112.         if (source.style.backgroundColor != highlightColor && source.className != ignoreHighlightClass)
  113.         {
  114.             source.style.backgroundColor=highlightColor;
  115.         }
  116.         else 
  117.         {
  118.             return false;
  119.         }
  120.             
  121.         return true;
  122.     }
  123.  
  124.     function unhiliteActiveMenuItem(eventObj)
  125.     {        
  126.         if (eventObj == null)
  127.             eventObj = event;
  128.         
  129.         if ((eventObj.fromElement.contains(eventObj.toElement) || source.contains(eventObj.toElement) 
  130.             || source.className == ignoreHighlightClass) || source.tagName=="TABLE")
  131.         {
  132.             return false;
  133.         }
  134.  
  135.         if (eventObj.toElement != source)
  136.             source.style.backgroundColor=nohighlightColor;
  137.             
  138.         return true;
  139.     }
  140.  
  141.     function fireMenuItemClick()
  142.     {
  143.         source = event.srcElement;
  144.         if (source.tagName=="TABLE")
  145.             return false;
  146.         
  147.         while (source.tagName != menuHTMLTag && source.tagName != "HTML")
  148.             source = source.parentElement;
  149.         
  150.         if (source.id != "" && source.className != ignoreHighlightClass)
  151.         {
  152.                window.external.flyout.click(source.id);
  153.         }
  154.         else return false;
  155.             
  156.         return true;
  157.     }
  158.     
  159.     </script>
  160.  
  161. </head>
  162. <body>
  163.     <table id="mainTable" cellpadding="0" cellspacing="0" border="0" class="menuContainer">
  164.         <tr>
  165.             <td>
  166.                 <div id="wholeContent" class="menu">
  167.                     <table id="menuTable" onmouseover="hiliteActiveMenuItem();" onmouseout="unhiliteActiveMenuItem();"
  168.                         width="151" cellpadding="0" cellspacing="0" border="0" onclick="fireMenuItemClick();">
  169.                         <tr class="ignoreHighlight">
  170.                             <td colspan="2">
  171.                                 <iframe id="preview" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"
  172.                                     width="320" height="300" src="about:blank"></iframe>
  173.                             </td>
  174.                         </tr>
  175.                         <tr class="ignoreHighlight">
  176.                             <td colspan="2">
  177.                                 <div class="menuItemSep">
  178.                                      </div>
  179.                             </td>
  180.                         </tr>
  181.                     </table>
  182.                 </div>
  183.             </td>
  184.         </tr>
  185.     </table>
  186. </body>
  187. </html>
  188.