Team:SCUT/HP
From 2014.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
.slide-pic li{display:none;} | .slide-pic li{display:none;} | ||
.slide-pic li.cur{display:block;} | .slide-pic li.cur{display:block;} | ||
- | .slide-li li{display:inline;list-style | + | .slide-li li{display:inline;list-style:none;} |
.slide-li a{text-decoration:none;color:#000;float:right;} | .slide-li a{text-decoration:none;color:#000;float:right;} | ||
.slide-li a:hover{color:#ccc;} | .slide-li a:hover{color:#ccc;} | ||
Line 65: | Line 65: | ||
$(function ($) { | $(function ($) { | ||
if ($(".slide-pic").length > 0) { | if ($(".slide-pic").length > 0) { | ||
- | var defaultOpts = { interval: | + | var defaultOpts = { interval: 6000, fadeInTime: 300, fadeOutTime: 200 }; |
var _titles = $("ul.slide-li li"); | var _titles = $("ul.slide-li li"); | ||
var _titles_bg = $("ul.op li"); | var _titles_bg = $("ul.op li"); |
Revision as of 15:49, 15 October 2014
Outline