|
|
(66 intermediate revisions not shown) |
Line 4: |
Line 4: |
| | | |
| /> | | /> |
- | <script type="text/javascript" | + | |
- | | + | |
- | src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
| + | |
- | | + | |
- | "></script>
| + | |
- | <script type="text/javascript">
| + | |
- | $(document).ready(function(){
| + | |
- | | + | |
- | $(function(){
| + | |
- | var path = location.pathname.substring(1);
| + | |
- | var last = path.split("/");
| + | |
- | if ( last[1] ) {
| + | |
- | $('#headover ul li a[href*="' + last[1] + '"]').addClass
| + | |
- | | + | |
- | ("curlink").css("color","#01DF01");
| + | |
- | }
| + | |
- | else {
| + | |
- | $('#headover ul li a[href$="' + path + '"]').addClass
| + | |
- | | + | |
- | ("curlink").css("color","#01DF01");
| + | |
- | }
| + | |
- | });
| + | |
- | | + | |
- | $('#menuback').mouseover(function() {
| + | |
- | $('#headover').stop().animate({height:'150px',top:'0px'},1000);
| + | |
- | });
| + | |
- | | + | |
- | $('#menu').mouseleave(function() {
| + | |
- | $('.listhead').not('.curlink').css("color","#ffffff");
| + | |
- | $('.listmain').not('.curlink').css("color","#dddddd");
| + | |
- | $('#headover ul').fadeOut(500);
| + | |
- | $('#headover').stop().animate
| + | |
- | | + | |
- | ({height:'50px',top:'500px'},1000);
| + | |
- | });
| + | |
- | | + | |
- | $('.listhead').mouseover(function(){
| + | |
- | $('.listhead').not('.curlink').css("color","#ffffff");
| + | |
- | $(this).css("color","#444444");
| + | |
- | $('#headover ul').css("display","none");
| + | |
- | var vActive = $(this).attr("id");
| + | |
- | $('.'+vActive).stop(true, true).fadeIn(500);
| + | |
- | });
| + | |
- | | + | |
- | $('.listmain').mouseover(function(){
| + | |
- | $('.listmain').not('.curlink').css("color","#dddddd");
| + | |
- | $(this).css("color","#01DF01");
| + | |
- | });
| + | |
- | | + | |
- | $('#headover').mouseleave(function(){
| + | |
- | $('.listmain').not('.curlink').css("color","#dddddd");
| + | |
- | });
| + | |
- | | + | |
- | });
| + | |
- | </script>
| + | |
| <style type="text/css"> | | <style type="text/css"> |
| | | |
- | a:link {color:#04B404;} | + | a:link {color:#ffa442;} |
- | a:visited {color:#04B404;} | + | a:visited {color:#ffa442;} |
- | a:hover {color:#04B404;} | + | a:hover {color:#ffa442;} |
- | a:active {color:#04B404;} | + | a:active {color:#ffa442;} |
| | | |
| #top-section { | | #top-section { |
Line 70: |
Line 16: |
| height: 100px; | | height: 100px; |
| border: none; | | border: none; |
- | width:910px; | + | width:766px; |
| height:20px} | | height:20px} |
| | | |
Line 94: |
Line 40: |
| | | |
| a:visited { | | a:visited { |
- | color: #04B404;} | + | color: #ffa442;} |
- | | + | |
- | #footer-box {
| + | |
- | position: relative;
| + | |
- | top:400px;
| + | |
- | left: 0px;
| + | |
- | color: #000000;
| + | |
- | width:900px;}
| + | |
| | | |
| body { | | body { |
Line 110: |
Line 49: |
| | | |
| #content { | | #content { |
- | width: 900px; | + | width: 766px; |
| border: none; | | border: none; |
| font-family: georgia, helvetica, arial, sans-serif; | | font-family: georgia, helvetica, arial, sans-serif; |
| background-color:#000000; | | background-color:#000000; |
- | color: #FFFFFF} | + | color: #000000} |
| | | |
- | #title {
| + | #siteSub { |
- | width:900px;
| + | display:none; |
- | height:55px;
| + | } |
- | position: relative;
| + | |
- | top: 0px;
| + | |
- | left: 0px;}
| + | |
| | | |
- | #paralogo {
| + | #contentSub { |
- | width:600px;
| + | display:none; |
- | height:50px;
| + | } |
- | position: relative;
| + | |
- | top: 0px;
| + | |
- | left: 0px;}
| + | |
| | | |
- |
| + | #catlinks { |
- | #igemlogo {
| + | border:0px; |
- | width:100px;
| + | display:none; |
- | height:50px;
| + | } |
- | position:absolute;
| + | |
- | top:0px;
| + | |
- | left:420px;}
| + | |
- | | + | |
- | #csynbilogo { | + | |
- | width:300px;
| + | |
- | height:50px;
| + | |
- | position:absolute;
| + | |
- | top:0px;
| + | |
- | left:670px;}
| + | |
- | | + | |
- | #belink a { | + | |
- | text-decoration:none;}
| + | |
| | | |
- | #mblink {
| + | #footer-box { |
- | width:205px;
| + | display:none; |
- | height:16px;
| + | } |
- | position: absolute;
| + | |
- | top: 42px;
| + | |
- | font-size:1em;
| + | |
- | left: 697px;
| + | |
- | font-weight:500;}
| + | |
| | | |
| #mblink a { | | #mblink a { |
| text-decoration:none;} | | text-decoration:none;} |
- |
| |
- | #menu {
| |
- | width:900px;
| |
- | height:150px;
| |
- | position: relative;
| |
- | top: 20px;
| |
- | left: 0px;}
| |
- |
| |
- | #menuback {
| |
- | width:100px;
| |
- | height:500px;
| |
- | position: absolute;
| |
- | top: 0px;
| |
- | left: 0px;
| |
- | background-color: #01DF01;}
| |
- |
| |
- | #headpic {
| |
- | width:800px;
| |
- | height:500px;
| |
- | position: absolute;
| |
- | top: 0px;
| |
- | left: 100px;
| |
- | background-image: url('http://lh6.ggpht.com/-lr4PeisGgQM/SPRjO-
| |
- |
| |
- | VGCLI/AAAAAAAADdA/Mu2pdLkZ4N0/s800/R0010181_bw.jpg'); }
| |
- |
| |
- | #headover {
| |
- | width: 800px;
| |
- | height:50px;
| |
- | position: absolute;
| |
- | top: 450px;
| |
- | left: 0px;
| |
- | background: url
| |
- |
| |
- | (https://static.igem.org/mediawiki/2010/d/d8/Imperialigemheadoverone.png)
| |
- |
| |
- | 0px 0px no-repeat; }
| |
- |
| |
- | a {
| |
- | outline:none;}
| |
- |
| |
- | #headtit{
| |
- | font-family: georgia, helvetica, arial, sans-serif;
| |
- | font-size: 1.2em;
| |
- | color: #ffffff;
| |
- | position: absolute;
| |
- | top: 0.5em;
| |
- | right: 1.4em;}
| |
- |
| |
- | .dark{
| |
- | color: #dddddd;}
| |
- |
| |
- | .highlight{
| |
- | color: #01DF01;}
| |
- |
| |
- | #menulist{
| |
- | position: absolute;
| |
- | top: 16px;
| |
- | left: 5px;
| |
- | list-style: none;}
| |
- |
| |
- | #menulist li{
| |
- | height: 30px;
| |
- | }
| |
- |
| |
- | #menulist li a{
| |
- | font-weight: 200;
| |
- | font-size: 1.2em;
| |
- | text-decoration: none;
| |
- | font-family: georgia, helvetica, arial, sans-serif;
| |
- | color: #ffffff;}
| |
- |
| |
- | #headover ul{
| |
- | list-style: none;
| |
- | display: none;
| |
- | position: absolute;
| |
- | top: 1.2em;
| |
- | left: 0.2em;
| |
- | }
| |
- |
| |
- | #headover ul ul{
| |
- | position: absolute;
| |
- | width:10em;
| |
- | top:-0.2em;
| |
- | left: 10em;
| |
- | list-style:none;}
| |
- |
| |
- | #headover ul li{
| |
- | height: 2.4em;
| |
- | }
| |
- |
| |
- | #headover ul li a{
| |
- | font-weight: 100;
| |
- | font-size: 1.2em;
| |
- | text-decoration: none;
| |
- | font-family: georgia, helvetica, arial, sans-serif;
| |
- | color: #dddddd;}
| |
- |
| |
| </style> | | </style> |
| </head> | | </head> |
Line 267: |
Line 84: |
| cellspacing="0"> | | cellspacing="0"> |
| <tr> | | <tr> |
- | <td height="720" background="bg.jpg" style="background- | + | <td height="720" background="https://static.igem.org/mediawiki/2012/e/e4/Bggg.jpg" style="background- |
| | | |
| position:right;"> </td> | | position:right;"> </td> |
Line 281: |
Line 98: |
| <embed | | <embed |
| | | |
- | src="https://static.igem.org/mediawiki/2012/archive/0/01/20120722040937%21 | + | src="https://static.igem.org/mediawiki/2012/0/01/Index.swf" quality="high" |
- | | + | |
- | Index.swf" quality="high" | + | |
| | | |
| pluginspage="http://www.macromedia.com/go/getflashplayer" | | pluginspage="http://www.macromedia.com/go/getflashplayer" |
Line 290: |
Line 105: |
| | | |
| height="720"></embed></object></td> | | height="720"></embed></object></td> |
- | <td height="720" background="bg.jpg"> </td> | + | <td height="720" background="https://static.igem.org/mediawiki/2012/e/e4/Bggg.jpg"> </td> |
- | </tr>
| + | |
- | <tr>
| + | |
- | <td background="bgdl.jpg" style="background-position:right
| + | |
- | | + | |
- | top;"> </td>
| + | |
- | <td background="bgd.jpg" style="background-position:right
| + | |
| | | |
- | top;"> </td>
| |
- | <td background="bgdr.jpg"> </td>
| |
| </tr> | | </tr> |
| </table> | | </table> |
| </body> | | </body> |
| </html> | | </html> |