Team:Beijing HDFLS High/header
From 2014hs.igem.org
Line 286: | Line 286: | ||
<br> | <br> | ||
<br> | <br> | ||
+ | /* | ||
+ | Template Name: PlusBusiness | ||
+ | File: Navigation CSS | ||
+ | Author: OS Templates | ||
+ | Author URI: # | ||
+ | Licence: <a href="#">Website Template Licence</a> | ||
+ | */ | ||
+ | |||
+ | #topnav{ | ||
+ | display:block; | ||
+ | float:right; | ||
+ | margin:7px 0 0 0; | ||
+ | padding:0; | ||
+ | list-style:none; | ||
+ | font-size:14px; | ||
+ | font-weight:bold; | ||
+ | font-family:Verdana, Arial, Helvetica, sans-serif; | ||
+ | } | ||
+ | |||
+ | #topnav ul, #topnav li{ | ||
+ | float:left; | ||
+ | list-style:none; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | } | ||
+ | |||
+ | #topnav li a:link, #topnav li a:visited, #topnav li a:hover{ | ||
+ | display:block; | ||
+ | margin:0; | ||
+ | padding:15px 20px; | ||
+ | color:#999999; | ||
+ | background-color:#333333; | ||
+ | } | ||
+ | |||
+ | #topnav ul ul li a:link, #topnav ul ul li a:visited{ | ||
+ | border:none; | ||
+ | } | ||
+ | |||
+ | #topnav li.last a{ | ||
+ | margin-right:0; | ||
+ | } | ||
+ | |||
+ | #topnav li a:hover, #topnav ul li.active a{ | ||
+ | color:#FFFFFF; | ||
+ | background-color:#B2C629; | ||
+ | } | ||
+ | |||
+ | #topnav li li a:link, #topnav li li a:visited{ | ||
+ | width:150px; | ||
+ | float:none; | ||
+ | margin:0; | ||
+ | padding:7px 10px; | ||
+ | font-size:12px; | ||
+ | font-weight:normal; | ||
+ | } | ||
+ | |||
+ | #topnav li ul{ | ||
+ | z-index:9999; | ||
+ | position:absolute; | ||
+ | left:-999em; | ||
+ | height:auto; | ||
+ | width:170px; | ||
+ | border-left:1px solid #CCCCCC; | ||
+ | border-bottom:1px solid #CCCCCC; | ||
+ | } | ||
+ | |||
+ | #topnav li ul a{width:140px;} | ||
+ | |||
+ | #topnav li ul ul{margin:-32px 0 0 0;} | ||
+ | |||
+ | #topnav li:hover ul ul{left:-999em;} | ||
+ | |||
+ | #topnav li:hover ul, #topnav li li:hover ul{left:auto;} | ||
+ | |||
+ | #topnav li:hover{position:static;} | ||
+ | |||
+ | #topnav li.last a{margin-right:0;} | ||
+ | |||
+ | /* ----------------------------------------------Column Navigation-------------------------------------*/ | ||
+ | |||
+ | #column .subnav{display:block; width:250px; padding:25px; background-color:#F9F9F9; margin-bottom:30px;} | ||
+ | |||
+ | #column .subnav h2{ | ||
+ | margin:0 0 20px 0; | ||
+ | padding:0 0 14px 0; | ||
+ | font-size:20px; | ||
+ | font-weight:normal; | ||
+ | font-family:Georgia, "Times New Roman", Times, serif; | ||
+ | color:#666666; | ||
+ | background-color:#F9F9F9; | ||
+ | line-height:normal; | ||
+ | border-bottom:1px dotted #666666; | ||
+ | } | ||
+ | |||
+ | #column .subnav ul{ | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | list-style:none; | ||
+ | } | ||
+ | |||
+ | #column .subnav li{ | ||
+ | margin:0 0 3px 0; | ||
+ | padding:0; | ||
+ | } | ||
+ | |||
+ | #column .subnav ul ul, #column .subnav ul ul ul, #column .subnav ul ul ul ul, #column .subnav ul ul ul ul ul{border-top:none; padding-top:0;} | ||
+ | |||
+ | #column .subnav a{ | ||
+ | display:block; | ||
+ | margin:0; | ||
+ | padding:5px 10px 5px 20px; | ||
+ | color:#777777; | ||
+ | background:url("../images/green_file.gif") no-repeat 10px center #F9F9F9; | ||
+ | text-decoration:none; | ||
+ | border-bottom:1px dotted #666666; | ||
+ | } | ||
+ | |||
+ | #column .subnav a:hover{color:#B2C629; background-color:#F9F9F9;} | ||
+ | |||
+ | #column .subnav ul ul a, #column .subnav ul ul ul a, #column .subnav ul ul ul ul a, #column .subnav ul ul ul ul ul a{background:url("../images/black_file.gif") no-repeat #F9F9F9;} | ||
+ | #column .subnav ul ul a{padding-left:40px; background-position:30px center;} | ||
+ | #column .subnav ul ul ul a{padding-left:50px; background-position:40px center;} | ||
+ | #column .subnav ul ul ul ul a{padding-left:60px; background-position:50px center;} | ||
+ | #column .subnav ul ul ul ul ul a{padding-left:70px; background-position:60px center;} | ||
+ | |||
+ | /* | ||
+ | Template Name: PlusBusiness | ||
+ | File: Forms CSS | ||
+ | Author: OS Templates | ||
+ | Author URI: # | ||
+ | Licence: <a href="#">Website Template Licence</a> | ||
+ | */ | ||
+ | |||
+ | form, fieldset, legend{margin:0; padding:0; border:none;} | ||
+ | legend{display:none;} | ||
+ | input, textarea, select{font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif;} | ||
+ | |||
+ | /* ----------------------------------------------Forms in Content Area-------------------------------------*/ | ||
+ | |||
+ | #container #respond{display: block; width:100%;} | ||
+ | |||
+ | #container #respond input{width:170px; padding:2px; border:1px solid #CCCCCC; margin:5px 5px 0 0;} | ||
+ | |||
+ | #container #respond textarea{width:98%; border:1px solid #CCCCCC; padding:2px; overflow:auto;} | ||
+ | |||
+ | #container #respond p{margin:5px 0;} | ||
+ | |||
+ | #container #respond #submit, #container #respond #reset{ | ||
+ | margin:0; | ||
+ | padding:5px; | ||
+ | color:#666666; | ||
+ | background-color:#F7F7F7; | ||
+ | border:1px solid #CCCCCC; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | |||
+ | /* ----------------------------------------------Search Form-------------------------------------*/ | ||
+ | |||
+ | #topbar input{ | ||
+ | display:block; | ||
+ | float:left; | ||
+ | width:238px; | ||
+ | margin:0 5px 0 0; | ||
+ | padding:5px; | ||
+ | color:#333333; | ||
+ | background-color:#FFFFFF; | ||
+ | border:1px solid #999999; | ||
+ | } | ||
+ | |||
+ | #topbar input#go{ | ||
+ | width:auto; | ||
+ | height:auto; | ||
+ | margin:0; | ||
+ | padding:4px; | ||
+ | font-weight:bold; | ||
+ | text-transform:uppercase; | ||
+ | color:#FFFFFF; | ||
+ | background-color:#C80000; | ||
+ | border-color:#C80000; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | Template Name: PlusBusiness | ||
+ | File: Tables CSS | ||
+ | Author: OS Templates | ||
+ | Author URI: # | ||
+ | Licence: <a href="#">Website Template Licence</a> | ||
+ | */ | ||
+ | |||
+ | table{ | ||
+ | width:100%; | ||
+ | border-collapse:collapse; | ||
+ | table-layout:auto; | ||
+ | vertical-align:top; | ||
+ | margin-bottom:15px; | ||
+ | border:1px solid #CCCCCC; | ||
+ | } | ||
+ | |||
+ | table thead th{ | ||
+ | color:#FFFFFF; | ||
+ | background-color:#666666; | ||
+ | border:1px solid #CCCCCC; | ||
+ | border-collapse:collapse; | ||
+ | text-align:center; | ||
+ | table-layout:auto; | ||
+ | vertical-align:middle; | ||
+ | } | ||
+ | |||
+ | table tbody td{ | ||
+ | vertical-align:top; | ||
+ | border-collapse:collapse; | ||
+ | border-left:1px solid #CCCCCC; | ||
+ | border-right:1px solid #CCCCCC; | ||
+ | } | ||
+ | |||
+ | table thead th, table tbody td{ | ||
+ | padding:5px; | ||
+ | border-collapse:collapse; | ||
+ | } | ||
+ | |||
+ | table tbody tr.light{ | ||
+ | color:#666666; | ||
+ | background-color:#F7F7F7; | ||
+ | } | ||
+ | |||
+ | table tbody tr.dark{ | ||
+ | color:#666666; | ||
+ | background-color:#E8E8E8; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | Template Name: PlusBusiness | ||
+ | File: Featured Slider CSS | ||
+ | Author: OS Templates | ||
+ | Author URI: # | ||
+ | Licence: <a href="#">Website Template Licence</a> | ||
+ | */ | ||
+ | |||
+ | #featured_slide { | ||
+ | position:relative; | ||
+ | margin:0 auto 0; | ||
+ | display:block; | ||
+ | width:860px; | ||
+ | height:260px; | ||
+ | padding:20px 50px; | ||
+ | overflow:hidden; | ||
+ | font-size:12px; | ||
+ | font-family:Verdana, Arial, Helvetica, sans-serif; | ||
+ | color:#333333; | ||
+ | background-color:#B2C629; | ||
+ | } | ||
+ | |||
+ | #featured_slide a{ | ||
+ | color:#FFFFFF; | ||
+ | background-color:#B2C629; | ||
+ | } | ||
+ | |||
+ | #featured_slide a, #featured_slide ul, #featured_slide img{ | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | border:none; | ||
+ | outline:none; | ||
+ | list-style:none; | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | |||
+ | #featured_slide h1, #featured_slide h2, #featured_slide h3, #featured_slide h4, #featured_slide h5, #featured_slide h6{ | ||
+ | margin:15px 0 10px 0; | ||
+ | padding:0; | ||
+ | line-height:normal; | ||
+ | font-size:36px; | ||
+ | font-weight:normal; | ||
+ | font-family:Georgia, "Times New Roman", Times, serif; | ||
+ | } | ||
+ | |||
+ | /* ----------------------------------------------Start Carousel-------------------------------------*/ | ||
+ | |||
+ | #featured_content, #featured_content ul{ | ||
+ | display:block; | ||
+ | width:860px; | ||
+ | height:260px; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | list-style:none; | ||
+ | overflow:hidden; | ||
+ | } | ||
+ | |||
+ | #featured_content li{ | ||
+ | display:block; | ||
+ | position:relative; | ||
+ | width:860px; | ||
+ | height:260px; | ||
+ | overflow:hidden; | ||
+ | } | ||
+ | |||
+ | /* ----------------------------------------------Carousel Content-------------------------------------*/ | ||
+ | |||
+ | #featured_content img{ | ||
+ | display:block; | ||
+ | float:right; | ||
+ | width:380px; | ||
+ | height:250px; | ||
+ | margin:0 10px 0 0; | ||
+ | padding:4px; | ||
+ | border:1px solid #FFFFFF; | ||
+ | } | ||
+ | |||
+ | #featured_content .floater{ | ||
+ | display:block; | ||
+ | float:left; | ||
+ | width:415px; | ||
+ | height:250px; | ||
+ | margin:0 0 0 10px; | ||
+ | padding:0; | ||
+ | overflow:hidden; | ||
+ | } | ||
+ | |||
+ | #featured_content p{ | ||
+ | margin:0 0 20px 0; | ||
+ | padding:0; | ||
+ | line-height:1.6em; | ||
+ | } | ||
+ | |||
+ | #featured_content p.readmore{ | ||
+ | display:block; | ||
+ | width:100%; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | text-align:right; | ||
+ | line-height:normal; | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | |||
+ | #featured_content p.readmore a{ | ||
+ | padding:8px 15px 10px; | ||
+ | color:#FFFFFF; | ||
+ | background-color:#95AD19; | ||
+ | } | ||
+ | |||
+ | /* ----------------------------------------------Previous & Next Buttons-------------------------------------*/ | ||
+ | |||
+ | #featured-item-prev, #featured-item-next{ | ||
+ | display:block; | ||
+ | position:absolute; | ||
+ | top:118px; | ||
+ | width:36px; | ||
+ | height:64px; | ||
+ | } | ||
+ | |||
+ | #featured-item-prev {left:5px;} | ||
+ | |||
+ | #featured-item-next {right:5px;} | ||
+ | |||
+ | |||
+ | /* ---------------------------------------------------------------------------------------------------------- */ | ||
+ | /* ---------------DO NOT CHANGE THE FOLLOWING CODE OTHERWISE THE FEATURED PANEL WONT WORK-------------------- */ | ||
+ | /* ---------------------------------------------------------------------------------------------------------- */ | ||
+ | |||
+ | /* | ||
+ | Product Name: jCarousel | ||
+ | Version: 0.2.3 | ||
+ | Author: Jan Sorgalla | ||
+ | Author URI: http://sorgalla.com/jcarousel/ | ||
+ | Licence: Dual licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT</a> and <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a> licenses. | ||
+ | */ | ||
+ | |||
+ | .jcarousel-container{position:relative;} | ||
+ | |||
+ | .jcarousel-clip{ | ||
+ | z-index:2; | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | overflow:hidden; | ||
+ | position:relative; | ||
+ | } | ||
+ | |||
+ | .jcarousel-list{ | ||
+ | z-index:1; | ||
+ | overflow:hidden; | ||
+ | position:relative; | ||
+ | top:0; | ||
+ | left:0; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | } | ||
+ | |||
+ | .jcarousel-list li, .jcarousel-item{ | ||
+ | float:left; | ||
+ | list-style:none; | ||
+ | width:75px; | ||
+ | height:75px; | ||
+ | } | ||
+ | |||
+ | .jcarousel-next{ | ||
+ | z-index:3; | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | .jcarousel-prev{ | ||
+ | z-index:3; | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | $(document).ready(function () { | ||
+ | |||
+ | function mycarousel_initCallback(carousel) { | ||
+ | $('#featured-item-next').bind('click', function () { | ||
+ | carousel.next(); | ||
+ | return false; | ||
+ | }); | ||
+ | $('#featured-item-prev').bind('click', function () { | ||
+ | carousel.prev(); | ||
+ | return false; | ||
+ | }); | ||
+ | |||
+ | // Disable autoscrolling if the user clicks the prev or next button. | ||
+ | carousel.buttonNext.bind('click', function () { | ||
+ | carousel.startAuto(0); | ||
+ | }); | ||
+ | |||
+ | carousel.buttonPrev.bind('click', function () { | ||
+ | carousel.startAuto(0); | ||
+ | }); | ||
+ | |||
+ | // Pause autoscrolling if the user moves with the cursor over the clip. | ||
+ | carousel.clip.hover(function () { | ||
+ | carousel.stopAuto(); | ||
+ | }, function () { | ||
+ | carousel.startAuto(); | ||
+ | }); | ||
+ | |||
+ | }; | ||
+ | |||
+ | $('#featured_content').jcarousel({ | ||
+ | scroll: 1, | ||
+ | auto: 5, // Sets the time delay between automatic scrolling of the panel | ||
+ | wrap: 'last', | ||
+ | initCallback: mycarousel_initCallback, | ||
+ | // This tells jCarousel NOT to autobuild prev/next buttons | ||
+ | buttonNextHTML: null, | ||
+ | buttonPrevHTML: null | ||
+ | }); | ||
+ | |||
+ | }); |
Revision as of 13:00, 4 June 2014
/*
Template Name: PlusBusiness
File: Navigation CSS
Author: OS Templates
Author URI: #
Licence: <a href="#">Website Template Licence</a>
- /
- topnav{
display:block; float:right; margin:7px 0 0 0; padding:0; list-style:none; font-size:14px; font-weight:bold; font-family:Verdana, Arial, Helvetica, sans-serif; }
- topnav ul, #topnav li{
float:left; list-style:none; margin:0; padding:0; }
- topnav li a:link, #topnav li a:visited, #topnav li a:hover{
display:block; margin:0; padding:15px 20px; color:#999999; background-color:#333333; }
- topnav ul ul li a:link, #topnav ul ul li a:visited{
border:none; }
- topnav li.last a{
margin-right:0; }
- topnav li a:hover, #topnav ul li.active a{
color:#FFFFFF; background-color:#B2C629; }
- topnav li li a:link, #topnav li li a:visited{
width:150px; float:none; margin:0; padding:7px 10px; font-size:12px; font-weight:normal; }
- topnav li ul{
z-index:9999; position:absolute; left:-999em; height:auto; width:170px; border-left:1px solid #CCCCCC; border-bottom:1px solid #CCCCCC; }
- topnav li ul a{width:140px;}
- topnav li ul ul{margin:-32px 0 0 0;}
- topnav li:hover ul ul{left:-999em;}
- topnav li:hover ul, #topnav li li:hover ul{left:auto;}
- topnav li:hover{position:static;}
- topnav li.last a{margin-right:0;}
/* ----------------------------------------------Column Navigation-------------------------------------*/
- column .subnav{display:block; width:250px; padding:25px; background-color:#F9F9F9; margin-bottom:30px;}
- column .subnav h2{
margin:0 0 20px 0; padding:0 0 14px 0; font-size:20px; font-weight:normal; font-family:Georgia, "Times New Roman", Times, serif; color:#666666; background-color:#F9F9F9; line-height:normal; border-bottom:1px dotted #666666; }
- column .subnav ul{
margin:0; padding:0; list-style:none; }
- column .subnav li{
margin:0 0 3px 0; padding:0; }
- column .subnav ul ul, #column .subnav ul ul ul, #column .subnav ul ul ul ul, #column .subnav ul ul ul ul ul{border-top:none; padding-top:0;}
- column .subnav a{
display:block; margin:0; padding:5px 10px 5px 20px; color:#777777; background:url("../images/green_file.gif") no-repeat 10px center #F9F9F9; text-decoration:none; border-bottom:1px dotted #666666; }
- column .subnav a:hover{color:#B2C629; background-color:#F9F9F9;}
- column .subnav ul ul a, #column .subnav ul ul ul a, #column .subnav ul ul ul ul a, #column .subnav ul ul ul ul ul a{background:url("../images/black_file.gif") no-repeat #F9F9F9;}
- column .subnav ul ul a{padding-left:40px; background-position:30px center;}
- column .subnav ul ul ul a{padding-left:50px; background-position:40px center;}
- column .subnav ul ul ul ul a{padding-left:60px; background-position:50px center;}
- column .subnav ul ul ul ul ul a{padding-left:70px; background-position:60px center;}
/* Template Name: PlusBusiness File: Forms CSS Author: OS Templates Author URI: # Licence: <a href="#">Website Template Licence</a>
- /
form, fieldset, legend{margin:0; padding:0; border:none;} legend{display:none;} input, textarea, select{font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif;}
/* ----------------------------------------------Forms in Content Area-------------------------------------*/
- container #respond{display: block; width:100%;}
- container #respond input{width:170px; padding:2px; border:1px solid #CCCCCC; margin:5px 5px 0 0;}
- container #respond textarea{width:98%; border:1px solid #CCCCCC; padding:2px; overflow:auto;}
- container #respond p{margin:5px 0;}
- container #respond #submit, #container #respond #reset{
margin:0; padding:5px; color:#666666; background-color:#F7F7F7; border:1px solid #CCCCCC; cursor:pointer; }
/* ----------------------------------------------Search Form-------------------------------------*/
- topbar input{
display:block; float:left; width:238px; margin:0 5px 0 0; padding:5px; color:#333333; background-color:#FFFFFF; border:1px solid #999999; }
- topbar input#go{
width:auto; height:auto; margin:0; padding:4px; font-weight:bold; text-transform:uppercase; color:#FFFFFF; background-color:#C80000; border-color:#C80000; cursor:pointer; }
/* Template Name: PlusBusiness File: Tables CSS Author: OS Templates Author URI: # Licence: <a href="#">Website Template Licence</a>
- /
table{ width:100%; border-collapse:collapse; table-layout:auto; vertical-align:top; margin-bottom:15px; border:1px solid #CCCCCC; }
table thead th{ color:#FFFFFF; background-color:#666666; border:1px solid #CCCCCC; border-collapse:collapse; text-align:center; table-layout:auto; vertical-align:middle; }
table tbody td{ vertical-align:top; border-collapse:collapse; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; }
table thead th, table tbody td{ padding:5px; border-collapse:collapse; }
table tbody tr.light{ color:#666666; background-color:#F7F7F7; }
table tbody tr.dark{ color:#666666; background-color:#E8E8E8; }
/* Template Name: PlusBusiness File: Featured Slider CSS Author: OS Templates Author URI: # Licence: <a href="#">Website Template Licence</a>
- /
- featured_slide {
position:relative; margin:0 auto 0; display:block; width:860px; height:260px; padding:20px 50px; overflow:hidden; font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif; color:#333333; background-color:#B2C629; }
- featured_slide a{
color:#FFFFFF; background-color:#B2C629; }
- featured_slide a, #featured_slide ul, #featured_slide img{
margin:0; padding:0; border:none; outline:none; list-style:none; text-decoration:none; }
- featured_slide h1, #featured_slide h2, #featured_slide h3, #featured_slide h4, #featured_slide h5, #featured_slide h6{
margin:15px 0 10px 0; padding:0; line-height:normal; font-size:36px; font-weight:normal; font-family:Georgia, "Times New Roman", Times, serif; }
/* ----------------------------------------------Start Carousel-------------------------------------*/
- featured_content, #featured_content ul{
display:block; width:860px; height:260px; margin:0; padding:0; list-style:none; overflow:hidden; }
- featured_content li{
display:block; position:relative; width:860px; height:260px; overflow:hidden; }
/* ----------------------------------------------Carousel Content-------------------------------------*/
- featured_content img{
display:block; float:right; width:380px; height:250px; margin:0 10px 0 0; padding:4px; border:1px solid #FFFFFF; }
- featured_content .floater{
display:block; float:left; width:415px; height:250px; margin:0 0 0 10px; padding:0; overflow:hidden; }
- featured_content p{
margin:0 0 20px 0; padding:0; line-height:1.6em; }
- featured_content p.readmore{
display:block; width:100%; margin:0; padding:0; text-align:right; line-height:normal; font-weight:bold; }
- featured_content p.readmore a{
padding:8px 15px 10px; color:#FFFFFF; background-color:#95AD19; }
/* ----------------------------------------------Previous & Next Buttons-------------------------------------*/
- featured-item-prev, #featured-item-next{
display:block; position:absolute; top:118px; width:36px; height:64px; }
- featured-item-prev {left:5px;}
- featured-item-next {right:5px;}
/* ---------------------------------------------------------------------------------------------------------- */
/* ---------------DO NOT CHANGE THE FOLLOWING CODE OTHERWISE THE FEATURED PANEL WONT WORK-------------------- */
/* ---------------------------------------------------------------------------------------------------------- */
/* Product Name: jCarousel Version: 0.2.3 Author: Jan Sorgalla Author URI: http://sorgalla.com/jcarousel/ Licence: Dual licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT</a> and <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a> licenses.
- /
.jcarousel-container{position:relative;}
.jcarousel-clip{ z-index:2; padding:0; margin:0; overflow:hidden; position:relative; }
.jcarousel-list{ z-index:1; overflow:hidden; position:relative; top:0; left:0; margin:0; padding:0; }
.jcarousel-list li, .jcarousel-item{ float:left; list-style:none; width:75px; height:75px; }
.jcarousel-next{ z-index:3; display:none; }
.jcarousel-prev{ z-index:3; display:none; }
$(document).ready(function () {
function mycarousel_initCallback(carousel) { $('#featured-item-next').bind('click', function () { carousel.next(); return false; }); $('#featured-item-prev').bind('click', function () { carousel.prev(); return false; });
// Disable autoscrolling if the user clicks the prev or next button. carousel.buttonNext.bind('click', function () { carousel.startAuto(0); });
carousel.buttonPrev.bind('click', function () { carousel.startAuto(0); });
// Pause autoscrolling if the user moves with the cursor over the clip. carousel.clip.hover(function () { carousel.stopAuto(); }, function () { carousel.startAuto(); });
};
$('#featured_content').jcarousel({ scroll: 1, auto: 5, // Sets the time delay between automatic scrolling of the panel wrap: 'last', initCallback: mycarousel_initCallback, // This tells jCarousel NOT to autobuild prev/next buttons buttonNextHTML: null, buttonPrevHTML: null });
});