|
|
(235 intermediate revisions not shown) |
Line 7: |
Line 7: |
| | | |
| <p> | | <p> |
- | <style> | + | <style type="text/css"> body {background-image:url(https://static.igem.org/mediawiki/2014/5/57/Sjtu_software_background.jpg); background-repeat:no-repeat; background-attachment:fixed} </style> |
- | #menu {
| + | <script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/182min.js%20?action=raw&ctype=text/js"></script> |
- | font: 13px "trebuchet MS", Arial, Helvetica;
| + | <script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/toolsmin.js%20?action=raw&ctype=text/js"></script> |
| + | <script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/main.js%20?action=raw&ctype=text/js"></script> |
| + | <style type="text/css"> |
| + | |
| + | .slider |
| + | { |
| + | background: #d5d5d5; |
| + | height: 7px; |
| + | position: relative; |
| + | cursor: pointer; |
| + | width: 100%; |
| + | clear: right; |
| + | top: 0px; |
| + | -moz-border-radius: 5px; |
| + | -webkit-border-radius: 5px; |
| + | -moz-box-shadow: inset 0 0 8px #000; |
| + | margin: 10px 0 10px 0; |
| } | | } |
- | #menu a {
| + | |
- | color: #2A679F; | + | /* progress bar (enabled with progress: true) */ |
| + | .progress |
| + | { |
| + | height: 7px; |
| + | position: relative; |
| + | background: #5389c5; /* Old browsers */ |
| + | background: -moz-linear-gradient(top, #5389c5 0%, #4775a9 100%); /* FF3.6+ */ |
| + | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5389c5), color-stop(100%,#4775a9)); /* Chrome,Safari4+ */ |
| + | background: -webkit-linear-gradient(top, #5389c5 0%,#4775a9 100%); /* Chrome10+,Safari5.1+ */ |
| + | background: -o-linear-gradient(top, #5389c5 0%,#4775a9 100%); /* Opera 11.10+ */ |
| + | background: -ms-linear-gradient(top, #5389c5 0%,#4775a9 100%); /* IE10+ */ |
| + | background: linear-gradient(to bottom, #5389c5 0%,#4775a9 100%); /* W3C */ |
| + | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5389c5', endColorstr='#4775a9',GradientType=0 ); /* IE6-9 */ |
| + | -moz-border-radius: 5px; |
| + | -webkit-border-radius: 5px; |
| + | top: 0px; |
| + | border: 1px solid #4b7bb1; |
| + | |
| + | -moz-box-shadow: inset 0 .7px 0 0 rgba(255, 255, 255, 0.3); |
| + | -webkit-box-shadow: inset 0 .7px 0 0 rgba(255, 255, 255, 0.3); |
| + | box-shadow: inset 0 .7px 0 0 rgba(255, 255, 255, 0.3); |
| } | | } |
- | #menu, #menu ul {
| + | |
- | margin: 0;
| + | /* drag handle */ |
- | padding: 0;
| + | .handle |
- | list-style: none;
| + | { |
| + | background: url(../images/handle.png) repeat-x center; |
| + | height: 16px; |
| + | width: 16px; |
| + | top: -5px; |
| + | position: absolute; |
| + | display: block; |
| + | margin-top: 1px; |
| + | cursor: pointer; |
| + | |
| } | | } |
- | #menu {
| + | |
- | width: 75%;
| + | /* the input field */ |
- | margin: 20px auto;
| + | .range |
- | border: 1px solid #222;
| + | { |
- | background-color: #111;
| + | display: none; |
- | background-image: -moz-linear-gradient(#444, #111);
| + | |
- | background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111));
| + | |
- | background-image: -webkit-linear-gradient(#444, #111);
| + | |
- | background-image: -o-linear-gradient(#444, #111);
| + | |
- | background-image: -ms-linear-gradient(#444, #111);
| + | |
- | background-image: linear-gradient(#444, #111);
| + | |
- | -moz-border-radius: 6px;
| + | |
- | -webkit-border-radius: 6px;
| + | |
- | border-radius: 6px;
| + | |
- | -moz-box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
| + | |
- | -webkit-box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
| + | |
- | box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
| + | |
| } | | } |
- | #menu:before, #menu:after {
| + | /* |
- | content: "";
| + | * CSS Expandable Menu |
- | display: table;
| + | * @author: Francisco Neves |
- | }
| + | */ |
- | #menu:after {
| + | |
- | clear: both;
| + | /** Reset */ |
- | }
| + | * { font-family: "museo500", "Arial"; font-size: 12px; list-style: none; margin: 0; padding: 0; outline: 0; text-decoration: none; box-sizing: border-box !important; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; -ms-box-sizing: border-box !important; } |
- | #menu {
| + | |
- | zoom: 1;
| + | /** |
- | }
| + | * START FREEBIE STYLES |
- | #menu li {
| + | */ |
- | float: left;
| + | |
- | border-right: 1px solid #222;
| + | /*! Font Faces */ |
- | -moz-box-shadow: 1px 0 0 #444;
| + | @font-face{ |
- | -webkit-box-shadow: 1px 0 0 #444;
| + | font-family: 'museo500'; |
- | box-shadow: 1px 0 0 #444;
| + | src: url('../fonts/MuseoSans_500-webfont.eot'); |
- | position: relative;
| + | src: url('../fonts/MuseoSans_500-webfont.eot?#iefix') format('embedded-opentype'), |
- | }
| + | url('../fonts/MuseoSans_500-webfont.woff') format('woff'), |
- | #menu a {
| + | url('../fonts/MuseoSans_500-webfont.ttf') format('truetype'), |
- | float: left;
| + | url('../fonts/MuseoSans_500-webfont.svg#museo_sans_500regular') format('svg'); |
- | padding: 12px 30px;
| + | font-weight: normal; |
- | color: #999;
| + | font-style: normal; |
- | text-transform: uppercase;
| + | |
- | font: bold 12px Arial, Helvetica;
| + | |
- | text-decoration: none;
| + | |
- | text-shadow: 0 1px 0 #000;
| + | |
- | }
| + | |
- | #menu li:hover > a {
| + | |
- | color: #fafafa;
| + | |
- | }
| + | |
- | *html #menu li a:hover {
| + | |
- | color: #fafafa;
| + | |
- | }
| + | |
- | #menu ul {
| + | |
- | margin: 20px 0 0 0;
| + | |
- | _margin: 0;
| + | |
- | opacity: 0;
| + | |
- | visibility: hidden;
| + | |
- | position: absolute;
| + | |
- | top: 38px;
| + | |
- | left: 0;
| + | |
- | z-index: 1;
| + | |
- | background: #444;
| + | |
- | background: -moz-linear-gradient(#444, #111);
| + | |
- | background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111));
| + | |
- | background: -webkit-linear-gradient(#444, #111);
| + | |
- | background: -o-linear-gradient(#444, #111);
| + | |
- | background: -ms-linear-gradient(#444, #111);
| + | |
- | background: linear-gradient(#444, #111);
| + | |
- | -moz-box-shadow: 0 -1px rgba(255,255,255,.3);
| + | |
- | -webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.3);
| + | |
- | box-shadow: 0 -1px 0 rgba(255,255,255,.3);
| + | |
- | -moz-border-radius: 3px;
| + | |
- | -webkit-border-radius: 3px;
| + | |
- | border-radius: 3px;
| + | |
- | -webkit-transition: all .2s ease-in-out;
| + | |
- | -moz-transition: all .2s ease-in-out;
| + | |
- | -ms-transition: all .2s ease-in-out;
| + | |
- | -o-transition: all .2s ease-in-out;
| + | |
- | transition: all .2s ease-in-out;
| + | |
- | } | + | |
- | #menu li:hover > ul {
| + | |
- | opacity: 1;
| + | |
- | visibility: visible;
| + | |
- | margin: 0;
| + | |
- | }
| + | |
- | #menu ul ul {
| + | |
- | top: 0; | + | |
- | left: 150px;
| + | |
- | margin: 0 0 0 20px;
| + | |
- | _margin: 0;
| + | |
- | -moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
| + | |
- | -webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);
| + | |
- | box-shadow: -1px 0 0 rgba(255,255,255,.3);
| + | |
- | }
| + | |
- | #menu ul li {
| + | |
- | float: none;
| + | |
- | display: block;
| + | |
- | border: 0;
| + | |
- | _line-height: 0;
| + | |
- | -moz-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
| + | |
- | -webkit-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
| + | |
- | box-shadow: 0 1px 0 #111, 0 2px 0 #666;
| + | |
- | }
| + | |
- | #menu ul li:last-child {
| + | |
- | -moz-box-shadow: none;
| + | |
- | -webkit-box-shadow: none;
| + | |
- | box-shadow: none;
| + | |
- | }
| + | |
- | #menu ul a {
| + | |
- | padding: 10px;
| + | |
- | width: 130px;
| + | |
- | _height: 10px;
| + | |
- | display: block;
| + | |
- | white-space: nowrap;
| + | |
- | float: none;
| + | |
- | text-transform: none;
| + | |
- | }
| + | |
- | #menu ul a:hover {
| + | |
- | background-color: #0186ba;
| + | |
- | background-image: -moz-linear-gradient(#04acec, #0186ba);
| + | |
- | background-image: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
| + | |
- | background-image: -webkit-linear-gradient(#04acec, #0186ba);
| + | |
- | background-image: -o-linear-gradient(#04acec, #0186ba);
| + | |
- | background-image: -ms-linear-gradient(#04acec, #0186ba);
| + | |
- | background-image: linear-gradient(#04acec, #0186ba);
| + | |
- | }
| + | |
- | #menu ul li:first-child > a {
| + | |
- | -moz-border-radius: 3px 3px 0 0;
| + | |
- | -webkit-border-radius: 3px 3px 0 0;
| + | |
- | border-radius: 3px 3px 0 0;
| + | |
- | }
| + | |
- | #menu ul li:first-child > a:after { | + | |
- | content: '';
| + | |
- | position: absolute;
| + | |
- | left: 40px;
| + | |
- | top: -6px;
| + | |
- | border-left: 6px solid transparent;
| + | |
- | border-right: 6px solid transparent;
| + | |
- | border-bottom: 6px solid #444;
| + | |
- | }
| + | |
- | #menu ul ul li:first-child a:after {
| + | |
- | left: -6px;
| + | |
- | top: 50%;
| + | |
- | margin-top: -6px;
| + | |
- | border-left: 0;
| + | |
- | border-bottom: 6px solid transparent;
| + | |
- | border-top: 6px solid transparent;
| + | |
- | border-right: 6px solid #3b3b3b;
| + | |
- | }
| + | |
- | #menu ul li:first-child a:hover:after {
| + | |
- | border-bottom-color: #04acec;
| + | |
- | }
| + | |
- | #menu ul ul li:first-child a:hover:after {
| + | |
- | border-right-color: #0299d3;
| + | |
- | border-bottom-color: transparent;
| + | |
- | }
| + | |
- | #menu ul li:last-child > a {
| + | |
- | -moz-border-radius: 0 0 3px 3px;
| + | |
- | -webkit-border-radius: 0 0 3px 3px;
| + | |
- | border-radius: 0 0 3px 3px;
| + | |
- | }
| + | |
- | /* Mobile */
| + | |
- | #menu-trigger {
| + | |
- | display: none;
| + | |
- | }
| + | |
- | @media screen and (max-width: 600px) {
| + | |
- | /* nav-wrap */
| + | |
- | #menu-wrap {
| + | |
- | position: relative;
| + | |
| } | | } |
- | #menu-wrap * { | + | |
- | -moz-box-sizing: border-box; | + | /*! Freebie Skelet */ |
- | -webkit-box-sizing: border-box; | + | ul.expmenu { width: 200px; } |
- | box-sizing: border-box; | + | ul.expmenu * { list-style: none; } |
| + | ul.expmenu > li > div.header { padding: 12px; border-bottom: 1px #396e9f solid; } |
| + | ul.expmenu > li:last-child > div.header { border-bottom: none; } |
| + | ul.expmenu > li ul li { background-color: #ececec; padding: 12px; border-bottom: 1px solid #dcdcdc; border-top: 1px solid #fff; color: #727272; text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); } |
| + | ul.expmenu > li ul li:last-child { border-bottom: none; } |
| + | ul.expmenu > li ul li.selected { background-color: #f4f4f4; } |
| + | ul.expmenu div.header |
| + | { |
| + | color: #203f61; |
| + | text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2); |
| + | |
| + | background: #4d7fb8; /* Old browsers */ |
| + | background: -moz-linear-gradient(top, #4d7fb8 0%, #4572a5 100%); /* FF3.6+ */ |
| + | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d7fb8), color-stop(100%,#4572a5)); /* Chrome,Safari4+ */ |
| + | background: -webkit-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* Chrome10+,Safari5.1+ */ |
| + | background: -o-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* Opera 11.10+ */ |
| + | background: -ms-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* IE10+ */ |
| + | background: linear-gradient(to bottom, #4d7fb8 0%,#4572a5 100%); /* W3C */ |
| + | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d7fb8', endColorstr='#4572a5',GradientType=0 ); /* IE6-9 */ |
| } | | } |
- | /* menu icon */ | + | ul.expmenu > li > div.header > .label { padding-left: 24px; background: no-repeat; } |
- | #menu-trigger {
| + | ul.expmenu > li > div.header > .arrow { display: block; width: 16px; height: 16px; background: no-repeat center; float: right; } |
- | display: block;
| + | ul.expmenu > li > div.header > .arrow.up { background-image: url(../images/arrow_u.png); } |
- | height: 40px;
| + | ul.expmenu > li > div.header > .arrow.down { background-image: url(../images/arrow_d.png); } |
- | line-height: 40px;
| + | |
- | cursor: pointer;
| + | |
- | padding: 0 0 0 35px;
| + | |
- | border: 1px solid #222;
| + | |
- | color: #fafafa;
| + | |
- | font-weight: bold;
| + | |
- | background-color: #111;
| + | |
- | -moz-border-radius: 6px;
| + | |
- | -webkit-border-radius: 6px;
| + | |
- | border-radius: 6px;
| + | |
- | -moz-box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
| + | |
- | -webkit-box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
| + | |
- | box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
| + | |
- | }
| + | |
- | /* main nav */
| + | |
- | #menu {
| + | |
- | margin: 0;
| + | |
- | padding: 10px;
| + | |
- | position: absolute;
| + | |
- | top: 40px;
| + | |
- | width: 100%;
| + | |
- | z-index: 1;
| + | |
- | background-color: #444;
| + | |
- | display: none;
| + | |
- | -moz-box-shadow: none;
| + | |
- | -webkit-box-shadow: none;
| + | |
- | box-shadow: none;
| + | |
- | }
| + | |
- | #menu:after {
| + | |
- | content: '';
| + | |
- | position: absolute;
| + | |
- | left: 25px;
| + | |
- | top: -8px;
| + | |
- | border-left: 8px solid transparent;
| + | |
- | border-right: 8px solid transparent;
| + | |
- | border-bottom: 8px solid #444;
| + | |
- | }
| + | |
- | #menu ul {
| + | |
- | position: static;
| + | |
- | visibility: visible;
| + | |
- | opacity: 1;
| + | |
- | margin: 0;
| + | |
- | background: none;
| + | |
- | -moz-box-shadow: none;
| + | |
- | -webkit-box-shadow: none;
| + | |
- | box-shadow: none;
| + | |
- | }
| + | |
- | #menu ul ul { | + | |
- | margin: 0 0 0 20px !important;
| + | |
- | -moz-box-shadow: none;
| + | |
- | -webkit-box-shadow: none;
| + | |
- | box-shadow: none;
| + | |
- | }
| + | |
- | #menu li {
| + | |
- | position: static;
| + | |
- | display: block;
| + | |
- | float: none;
| + | |
- | border: 0;
| + | |
- | margin: 5px;
| + | |
- | -moz-box-shadow: none;
| + | |
- | -webkit-box-shadow: none;
| + | |
- | box-shadow: none;
| + | |
- | }
| + | |
- | #menu ul li { | + | |
- | margin-left: 20px;
| + | |
- | -moz-box-shadow: none;
| + | |
- | -webkit-box-shadow: none;
| + | |
- | box-shadow: none;
| + | |
- | }
| + | |
- | #menu a {
| + | |
- | display: block;
| + | |
- | float: none;
| + | |
- | padding: 0;
| + | |
- | color: #999;
| + | |
- | }
| + | |
- | #menu a:hover {
| + | |
- | color: #fafafa;
| + | |
- | }
| + | |
- | #menu ul a {
| + | |
- | padding: 0;
| + | |
- | width: auto;
| + | |
- | }
| + | |
- | #menu ul a:hover {
| + | |
- | background: none;
| + | |
- | }
| + | |
- | #menu ul li:first-child a:after, #menu ul ul li:first-child a:after {
| + | |
- | border: 0;
| + | |
- | }
| + | |
- | }
| + | |
- | @media screen and (min-width: 600px) {
| + | |
- | #menu {
| + | |
- | display: block !important;
| + | |
- | }
| + | |
- | }
| + | |
- | /* iPad */ | + | |
- | .no-transition { | + | |
- | -webkit-transition: none;
| + | |
- | -moz-transition: none; | + | |
- | -ms-transition: none;
| + | |
- | -o-transition: none;
| + | |
- | transition: none;
| + | |
- | opacity: 1;
| + | |
- | visibility: visible;
| + | |
- | display: none;
| + | |
- | }
| + | |
- | #menu li:hover > .no-transition {
| + | |
- | display: block;
| + | |
- | }
| + | |
- | </style>
| + | |
- | <style type="text/css">
| + | |
- | .firstHeading { | + | |
- | width: 0px;
| + | |
- | height: 0px;
| + | |
- | margin: -38px auto;
| + | |
- | padding-top: 0px;
| + | |
- | margin-bottom: 0px;
| + | |
- | font-family: Georgia, Times, "Times New Roman", serif;
| + | |
- | } | + | |
| | | |
- | /*returnTop*/ | + | /* Mouse Events */ |
- | p#back-to-top{
| + | ul.expmenu div.header:hover |
- | position:fixed;
| + | { |
- | display:none;
| + | background: #4571a0; /* Old browsers */ |
- | bottom:50px;
| + | background: -moz-linear-gradient(top, #4d7fb8 0%, #4571a0 100%); /* FF3.6+ */ |
- | right:30px;
| + | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d7fb8), color-stop(100%,#4571a0)); /* Chrome,Safari4+ */ |
- | }
| + | background: -webkit-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* Chrome10+,Safari5.1+ */ |
- | p#back-to-top a{
| + | background: -o-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* Opera 11.10+ */ |
- | text-align:center;
| + | background: -ms-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* IE10+ */ |
- | text-decoration:none;
| + | background: linear-gradient(to bottom, #4d7fb8 0%,#4571a0 100%); /* W3C */ |
- | color:#d1d1d1;
| + | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d7fb8', endColorstr='#4571a0',GradientType=0 ); /* IE6-9 */ |
- | display:block;
| + | |
- | width:112px;
| + | |
- | /*使用CSS3中的transition属性给跳转链接中的文字添加渐变效果*/
| + | |
- | -moz-transition:color 1s;
| + | |
- | -webkit-transition:color 1s;
| + | |
- | -o-transition:color 1s;
| + | |
- | }
| + | |
- | p#back-to-top a:hover{
| + | |
- | color:#979797;
| + | |
- | }
| + | |
- | p#back-to-top a span{
| + | |
- | background:transparent url(https://static.igem.org/mediawiki/2014/3/3c/Sjtu_software_img100.png) no-repeat -25px -290px;
| + | |
- | border-radius:6px;
| + | |
- | display:block;
| + | |
- | height:40px;
| + | |
- | width:112px;
| + | |
- | margin-bottom:5px;
| + | |
- | /*使用CSS3中的transition属性给<span>标签背景颜色添加渐变效果*/
| + | |
- | -moz-transition:background 1s;
| + | |
- | -webkit-transition:background 1s;
| + | |
- | -o-transition:background 1s;
| + | |
- | }
| + | |
- | #back-to-top a:hover span{
| + | |
- | background:transparent url(https://static.igem.org/mediawiki/2014/3/3c/Sjtu_software_img100.png) no-repeat -25px -290px;
| + | |
- | }
| + | |
- | </style>
| + | |
- | </p>
| + | |
| | | |
| + | cursor: pointer; |
| + | } |
| | | |
- |
| + | ul.expmenu > li ul li:not(.selected):hover |
| + | { |
| + | background: #e7e7e7; /* Old browsers */ |
| | | |
- | <!--<body style="background-image:url(https://static.igem.org/mediawiki/2014/3/3c/Sjtu_software_img100.png);background-position:center; background-repeat:repeat-y repeat-x">-->
| + | cursor: pointer; |
| + | } |
| + | ul.expmenu > li ul li:not(.selected):active |
| + | { |
| + | background: #f1f1f1; /* Old browsers */ |
| | | |
| + | cursor: pointer; |
| + | } |
| + | /** |
| + | * END FREEBIE STYLES |
| + | */ |
| + | |
| | | |
| + | /** |
| + | * Not important styles |
| + | */ |
| + | body |
| + | { |
| + | color: #b1b1b1; |
| + | background: #e1e1e1; /* Old browsers */ |
| | | |
| + | font-family: "museo500"; |
| + | } |
| + | ul#pagination-freebie { display: table; padding-right: 20px; margin: 20px auto; list-style: none; } |
| + | ul#pagination-freebie:last-child { padding-right: 0; } |
| + | ul#pagination-freebie li { float: left; margin-bottom: 20px } |
| + | ul#pagination-freebie li:last-child { margin-right: 0; } |
| | | |
| + | div#text { text-align: center; font-size: 48px; width: 610px; margin: 0 auto; margin-top: 50px; margin-top: 80px; } |
| + | div#smalltext { text-align: center; font-size: 15px; width: 600px; margin: 0 auto; } |
| + | div#content { display: table; margin: 0 auto; padding: 30px; } |
| + | </style> |
| | | |
| | | |
- | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
| |
- | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
| |
- | <link href="https://2014.igem.org/Team:SJTU-Software/style.css%20?action=raw&ctype=text/css" rel="stylesheet" type="text/css" media="all"/>
| |
- | <link href="https://2014.igem.org/Team:SJTU-Software/slider.css%20?action=raw&ctype=text/css" rel="stylesheet" type="text/css" media="all"/>
| |
- | <script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/min.js%20?action=raw&ctype=text/js"></script>
| |
- | <script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/easing.js%20?action=raw&ctype=text/js"></script>
| |
- | <script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/cameramin.js%20?action=raw&ctype=text/js"></script>
| |
- | <script>
| |
- | jQuery(function(){
| |
- |
| |
- | jQuery('#camera_wrap_1').camera({
| |
- | thumbnails: true
| |
- | });
| |
- | });
| |
- | </script>
| |
- | </head>
| |
- | <body>
| |
- | <div id="menu-wrap">
| |
- | <ul id="menu">
| |
- | <li><a href="http://www.dowebok.com/" target="_blannk">首 页</a></li>
| |
- | <li> <a href="">分 类</a>
| |
- | <ul>
| |
- | <li> <a href="">页面重构</a>
| |
- | <ul>
| |
- | <li><a href="">HTML</a></li>
| |
- | <li><a href="">CSS</a></li>
| |
- | <li><a href="">Photoshop</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">编程语言</a>
| |
- | <ul>
| |
- | <li><a href="">JavaScript</a></li>
| |
- | <li><a href="">PHP</a></li>
| |
- | <li><a href="">Java</a></li>
| |
- | <li><a href="">Python</a></li>
| |
- | <li><a href="">NodeJS</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">调试工具</a>
| |
- | <ul>
| |
- | <li><a href="">Firebug</a></li>
| |
- | <li><a href="">Web Developer Toolbar</a></li>
| |
- | <li><a href="">IETester</a></li>
| |
- | <li><a href="">YSlow</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">浏览器</a>
| |
- | <ul>
| |
- | <li><a href="">IE</a></li>
| |
- | <li><a href="">Firefox</a></li>
| |
- | <li><a href="">Chrome</a></li>
| |
- | <li><a href="">Safari</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">链 接</a>
| |
- | <ul>
| |
- | <li> <a href="">门户</a>
| |
- | <ul>
| |
- | <li> <a href="">百度</a>
| |
- | <ul>
| |
- | <li><a href="">百度知道</a></li>
| |
- | <li><a href="">百度音乐</a></li>
| |
- | <li><a href="">百度百科</a></li>
| |
- | <li><a href="">百度贴吧</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">腾讯</a>
| |
- | <ul>
| |
- | <li><a href="">腾讯网</a></li>
| |
- | <li><a href="">QQ空间</a></li>
| |
- | <li><a href="">QQ音乐</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">新浪</a>
| |
- | <ul>
| |
- | <li><a href="">新浪首页</a></li>
| |
- | <li><a href="">新浪微博</a></li>
| |
- | <li><a href="">新浪博客</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">网易</a>
| |
- | <ul>
| |
- | <li><a href="">163首页</a></li>
| |
- | <li><a href="">163邮箱</a></li>
| |
- | <li><a href="">网易科技</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">新闻</a>
| |
- | <ul>
| |
- | <li><a href="">搜狐新闻</a></li>
| |
- | <li><a href="">腾讯新闻</a></li>
| |
- | <li><a href="">新浪新闻</a></li>
| |
- | <li><a href="">网易新闻</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">社交</a>
| |
- | <ul>
| |
- | <li> <a href="">社交1</a>
| |
- | <ul>
| |
- | <li><a href="">社交1-1</a></li>
| |
- | <li><a href="">社交1-2</a></li>
| |
- | <li><a href="">社交1-3</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">社交2</a>
| |
- | <ul>
| |
- | <li><a href="">社交2-1</a></li>
| |
- | <li><a href="">社交2-2</a></li>
| |
- | <li><a href="">社交2-3</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | <li> <a href="">社交3</a>
| |
- | <ul>
| |
- | <li><a href="">社交3-1</a></li>
| |
- | <li><a href="">社交3-2</a></li>
| |
- | <li><a href="">社交3-3</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | </ul>
| |
- | </li>
| |
- | </ul>
| |
- | </li>
| |
- | <li><a href="">关 于</a></li>
| |
- | <li><a href="">联 系</a>
| |
- | <ul>
| |
- | <li><a href="">微博</a></li>
| |
- | <li><a href="">微信</a></li>
| |
- | <li><a href="">E-mail</a></li>
| |
- | </ul>
| |
- | </li>
| |
- | </ul>
| |
- | </div>
| |
- |
| |
| <div align="center"> | | <div align="center"> |
- | <div class="slider" style="width:75%;">
| + | <div class="container2" style="height:700px;width:71%;background-color:#FFFFFF;"> |
- | <div class="fluid_container">
| + | <div align=left> |
- | <div class="camera_wrap camera_azure_skin" id="camera_wrap_1" >
| + | <div class="container2" style="height:700px;width:30%;background-color:#00FF00;float:left; display:inline" > |
- | <div data-thumb="https://static.igem.org/mediawiki/2014/6/6a/Sjtu_software_test.jpg" data-src="https://static.igem.org/mediawiki/2014/6/6a/Sjtu_software_test.jpg"> </div>
| + | <div id="content"> |
- | <div data-thumb="https://static.igem.org/mediawiki/2014/6/6a/Sjtu_software_test.jpg" data-src="https://static.igem.org/mediawiki/2014/6/6a/Sjtu_software_test.jpg"> </div>
| + | <ul id="expmenu-freebie"> |
- | <div data-thumb="https://static.igem.org/mediawiki/2014/6/6a/Sjtu_software_test.jpg" data-src="https://static.igem.org/mediawiki/2014/6/6a/Sjtu_software_test.jpg"> </div>
| + | <li> |
- | <div data-thumb="https://static.igem.org/mediawiki/2014/6/6a/Sjtu_software_test.jpg" data-src="https://static.igem.org/mediawiki/2014/6/6a/Sjtu_software_test.jpg"> </div>
| + | <!-- Start Freebie --> |
- | </div>
| + | <ul class="expmenu"> |
- | </div>
| + | <li> |
- | <div class="clear"></div>
| + | <div class="header"> |
- | </div>
| + | <span class="label" style="background-image: url(images/messages.png);">Messages</span> |
- | </div>
| + | <span class="arrow up"></span> |
- | </div>
| + | </div> |
- | <div class="main" align="center" >
| + | <ul class="menu"> |
- | <div class="wrap" > | + | <li>Notification Settings</li> |
- | <div class="services" >
| + | <li class="selected">Email Alerts</li> |
- | <div class="section group"style="width:85%;" >
| + | <li>Privacy Settings</li> |
- |
| + | </ul> |
- | <div class="listview_1_of_2 images_1_of_2" >
| + | </li> |
- | <div class="listimg listimg_2_of_1" >
| + | <li> |
- | <img src="https://static.igem.org/mediawiki/2014/3/3c/Sjtu_software_img100.png" alt="" />
| + | <div class="header"> |
- | </div>
| + | <span class="label" style="background-image: url(images/user.png);">User Controls</span> |
- | <div class="text list_2_of_1" >
| + | <span class="arrow up"></span> |
- | <h3>Search</h3>
| + | </div> |
- | <p><div style="text-align:left;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.Lorem ipsum dolor sit amet.</div></p>
| + | <ul class="menu"> |
- | </div>
| + | <li><input type="range" name="range" min="0" max="100" value="35" style="width: 100%;" /></li> |
- | </div>
| + | </ul> |
- | <div class="listview_1_of_2 images_1_of_2" >
| + | </li> |
- | <div class="listimg listimg_2_of_1">
| + | <li> |
- | <img src="https://static.igem.org/mediawiki/2014/3/3c/Sjtu_software_img100.png" alt="" />
| + | <div class="header"> |
- | </div>
| + | <span class="label" style="background-image: url(images/pc.png);">Screen Settings</span> |
- | <div class="text list_2_of_1">
| + | <span class="arrow down"></span> |
- | <h3>Present</h3>
| + | </div> |
- | <p><div style="text-align:left;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.Lorem ipsum dolor sit amet.</div></p>
| + | <ul class="menu" style="display:none"> |
- | </div>
| + | <li>Your settings</li> |
- | </div>
| + | </ul> |
- | </div>
| + | </li> |
- |
| + | <li> |
- | <div class="section group" style="width:85%;">
| + | <div class="header"> |
- | <div class="listview_1_of_2 images_1_of_2" >
| + | <span class="label" style="background-image: url(images/search.png);">Search</span> |
- | <div class="listimg listimg_2_of_1">
| + | </div> |
- | <img src="https://static.igem.org/mediawiki/2014/3/3c/Sjtu_software_img100.png" alt="">
| + | </li> |
- | </div>
| + | </ul> |
- | <div class="text list_2_of_1">
| + | <!-- End Freebie --> |
- | <h3>Upload</h3>
| + | </li> |
- |
| + | </ul> |
- | <p><div style="text-align:left;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.Lorem ipsum dolor sit amet.</div></p>
| + | </div> |
- | </div>
| + | </div> |
- | </div>
| + | |
- | <div class="listview_1_of_2 images_1_of_2" >
| + | |
- | <div class="listimg listimg_2_of_1">
| + | <div class="container2" style="height:700px;width:70%;background-color:#FFFF00;float:left; display:inline" > |
- | <img src="https://static.igem.org/mediawiki/2014/3/3c/Sjtu_software_img100.png" alt="">
| + | </div> |
- | </div>
| + | </div> |
- | <div class="text list_2_of_1" >
| + | </div> |
- | <h3>Compare</h3>
| + | |
- | <p><div style="text-align:left;">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.Lorem ipsum dolor sit amet.</div></p>
| + | |
- |
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- |
| + | |
- | </div>
| + | |
- | </div>
| + | |
- |
| + | |
- |
| + | |
- | <div class="copy-right"style="width:75%;" align:center>
| + | |
- | <div class="wrap">
| + | |
- | <p class="copy">SJTU-Software</p><br>
| + | |
- | <p class="copy">Shanghai Jiao Tong University</p><br>
| + | |
- | <p class="copy"> 800, Dongchuan Road</p><br>
| + | |
- | <p class="copy"> 200240 Shanghai, China</p><br>
| + | |
- | <div class="clear"></div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | <p id="back-to-top"><a href="#top"><span><img src="https://static.igem.org/mediawiki/2014/c/cc/Sjtu_software_teamlogo.png" alt="" /></span>back to top</a></p>
| + | |
- | <div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div>
| + | |
- | <script> | + | |
- | $(function(){
| + | |
- | //当滚动条的位置处于距顶部100像素以下时,跳转链接出现,否则消失
| + | |
- | $(function () {
| + | |
- | $(window).scroll(function(){
| + | |
- | if ($(window).scrollTop()>10){
| + | |
- | $("#back-to-top").fadeIn(1500);
| + | |
- | }
| + | |
- | else
| + | |
- | {
| + | |
- | $("#back-to-top").fadeOut(1500);
| + | |
- | }
| + | |
- | });
| + | |
| | | |
- | //当点击跳转链接后,回到页面顶部位置
| + | </div> |
| + | |
| | | |
- | $("#back-to-top").click(function(){
| + | |
- | $('body,html').animate({scrollTop:0},1000);
| + | |
- | return false;
| + | |
- | });
| + | |
- | });
| + | |
- | });
| + | |
- | </script>
| + | |
- | | + | |
- | | + | |
- | <script>
| + | |
- | $(function() {
| + | |
- | if ($.browser.msie && $.browser.version.substr(0,1) < 7){
| + | |
- | $('li').has('ul').mouseover(function(){
| + | |
- | $(this).children('ul').css('visibility','visible');
| + | |
- | }).mouseout(function(){
| + | |
- | $(this).children('ul').css('visibility','hidden');
| + | |
- | });
| + | |
- | }
| + | |
| | | |
- | /* Mobile */
| |
- | $('#menu-wrap').prepend('<div id="menu-trigger">Menu</div>');
| |
- | $("#menu-trigger").on('click', function(){
| |
- | $("#menu").slideToggle();
| |
- | });
| |
| | | |
- | // iPad
| |
- | var isiPad = navigator.userAgent.match(/iPad/i) != null;
| |
- | if (isiPad) $('#menu ul').addClass('no-transition');
| |
- | });
| |
- | </script>
| |
| | | |
| </body> | | </body> |
| </html> | | </html> |