|
|
(3 intermediate revisions not shown) |
Line 4: |
Line 4: |
| | | |
| | | |
- | <!------
| |
| <link rel="stylesheet" href="https://2012.igem.org/Team:USTC-Software/css/header_style?action=raw&ctype=text/css" type="text/css" media="screen" title="no title" charset="utf-8"> | | <link rel="stylesheet" href="https://2012.igem.org/Team:USTC-Software/css/header_style?action=raw&ctype=text/css" type="text/css" media="screen" title="no title" charset="utf-8"> |
| | | |
- | ----->
| + | <script> |
- | | + | document.execCommand(”BackgroundImageCache”, false, true); |
| | | |
| + | (function(){ |
| + | /**//*Use Object Detection to detect IE6*/ |
| + | var m = document.uniqueID /**//*IE*/ |
| + | && document.compatMode /**//*>=IE6*/ |
| + | && !window.XMLHttpRequest /**//*<=IE6*/ |
| + | && document.execCommand; |
| | | |
- | | + | try{ |
- |
| + | if(!!m){ |
- | <style> | + | m("BackgroundImageCache", false, true) /**//* = IE6 only */ |
| + | } |
| + | |
| + | }catch(oh){}; |
| + | })(); |
| + | </script> |
| | | |
- | html { zoom: expression(function(ele){ ele.style.zoom = "1"; document.execCommand("BackgroundImageCache", false, true); }(this)); }
| |
| | | |
- |
| + | <style> |
- | #header_wrapper { width: 980px; position: relative; margin: 0px auto; float: none; }
| + | |
| | | |
| + | html { zoom: expression(function(ele){ ele.style.zoom = "1"; document.execCommand("BackgroundImageCache", false, true); }(this)); } |
| | | |
- | #navs { margin-bottom:30px;}
| + | </style> |
- | #navs div { margin-right: 5px; float:left;}
| + | |
- | #navs div a{
| + | |
- | display:block;
| + | |
- | height:100%;
| + | |
- | width:100%;
| + | |
- | text-decoration:none;
| + | |
- | color:white;
| + | |
- | }
| + | |
- | | + | |
- | #team_logo { width: 442px; height: 74px; margin-bottom:10px;
| + | |
- | background: url("https://static.igem.org/mediawiki/2012/f/f2/USTC-Software-images-team-logo-2.png") no-repeat;
| + | |
- | float: none; margin-top: 15px;
| + | |
- | -webkit-transition: background .5s ease-out;
| + | |
- | -moz-transition: background .5s ease-out;
| + | |
- | -o-transition: background .5s ease-out;
| + | |
- | -ms-transition: background .5s ease-out;
| + | |
- | transition: background .5s ease-out;
| + | |
- | }
| + | |
- | #team_logo:hover{ background:url('https://static.igem.org/mediawiki/2012/4/4e/USTC-Software-images-team-logo-changed.png');}
| + | |
- | #team_logo a{ display:block; height:100%; width:100%;}
| + | |
- | | + | |
- | | + | |
- | #home_button { width: 147px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/d/d1/USTC-Software-images-home_normal.png"); }
| + | |
- | #home_button:active { background: url("https://static.igem.org/mediawiki/2012/6/68/USTC-Software-images-home_active.png"); }
| + | |
- | | + | |
- | #project_button { width: 104px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/d/dd/USTC-Software-images-project_normal.png"); }
| + | |
- | #project_button:active { background: url("https://static.igem.org/mediawiki/2012/2/24/USTC-Software-images-project_active.png"); }
| + | |
- | | + | |
- | #team_button { width: 137px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/6/6e/USTC-Software-images-team_normal.png"); position: relative; top: -2px !important; /* because the photo has some problem */ }
| + | |
- | #team_button:active { background: url("https://static.igem.org/mediawiki/2012/1/19/USTC-Software-images-team_active.png"); }
| + | |
- | | + | |
- | #notes_button { width: 135px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/9/9a/USTC-Software-images-notes_normal.png"); }
| + | |
- | #notes_button:active { background: url("https://static.igem.org/mediawiki/2012/f/f7/USTC-Software-images-notes_active.png"); }
| + | |
- | | + | |
- | #hp_button { width: 210px; height: 35px; background: url("https://static.igem.org/mediawiki/2012/e/e1/USTC-Software-images-hp_normal.png"); }
| + | |
- | #hp_button:active { background: url("https://static.igem.org/mediawiki/2012/8/86/USTC-Software-images-hp_active.png"); }
| + | |
- | | + | |
- |
| + | |
- |
| + | |
- |
| + | |
- | </style>
| + | |
- |
| + | |
- |
| + | |
| | | |
| </head> | | </head> |
Line 94: |
Line 60: |
| | | |
| | | |
- | <script>
| |
- | document.execCommand(”BackgroundImageCache”, false, true);
| |
- | </script>
| |
- |
| |
- |
| |
- | (function(){
| |
- | /**//*Use Object Detection to detect IE6*/
| |
- | var m = document.uniqueID /**//*IE*/
| |
- | && document.compatMode /**//*>=IE6*/
| |
- | && !window.XMLHttpRequest /**//*<=IE6*/
| |
- | && document.execCommand;
| |
- |
| |
- | try{
| |
- | if(!!m){
| |
- | m("BackgroundImageCache", false, true) /**//* = IE6 only */
| |
- | }
| |
- |
| |
- | }catch(oh){};
| |
- | })();
| |
| | | |
| </body> | | </body> |
| </html> | | </html> |