1 <div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="false">
4 <ol class="carousel-indicators" style="display:none">
5 <li data-target="#myCarousel" data-slide-to="0"></li>
6 <li data-target="#myCarousel" data-slide-to="1"></li>
7 <li data-target="#myCarousel" data-slide-to="2"></li>
8 <li data-target="#myCarousel" data-slide-to="3"></li>
9 <li data-target="#myCarousel" data-slide-to="4"></li>
10 <li data-target="#myCarousel" data-slide-to="5"></li>
13 <!-- Wrapper for slides -->
14 <div class="carousel-inner" role="listbox">
18 <div style="background:url(/documents/img/homepage_carousel/varitome.jpeg) center center; background-size:cover;" class="slider-size">
19 <div class="carousel-sgn-caption" style="opacity: 0.95; background-color: #efefef">
20 <a href="/projects/varitome/" target="_blank" style="color: #00426c">
21 <h3>The Varitome Project</h3>
22 <p>Exploitation of genetic and epigenetic variation in the regulation of tomato fruit quality traits</p>
29 <div style="background:url(/documents/img/homepage_carousel/5.jpg) center center; background-size:cover;" class="slider-size">
30 <div class="carousel-sgn-caption">
31 <h3><a href="/organism/Solanum_lycopersicum/genome">Tomato Genome</a></h3>
32 <p><a href="/organism/Solanum_lycopersicum/genome">The new Tomato Genome assembly (SL3.0) and annotations (ITAG3.0) are now available on SGN</a></p>
33 <!--<p><a href="http://www.nature.com/nature/journal/v485/n7400/full/nature11119.html" target="_blank">The tomato genome sequence provides insights into fleshy fruit evolution</a></p> -->
36 <div class="carousel-sgn-links">
37 <ul class="sgn_sm_list">
38 <a href="/jbrowse_solgenomics/?data=data/json/SL3.0"><li>Browse the tomato genome</li></a>
39 <a href="/tools/blast?db_id=283"><li>Find sequences by similarity</li></a>
40 <!--<a href="http://vigs.solgenomics.net"><li>Design VIGS constructs</li></a> -->
41 <a href="ftp://ftp.solgenomics.net/genomes/Solanum_lycopersicum/annotation/ITAG3.0_release/"><li>Download the annotations</li></a>
42 <a href="ftp://ftp.solgenomics.net/genomes/Solanum_lycopersicum/assembly/build_3.00/"><li>Download the Genome Sequence</li></a>
50 <div style="background:url(/documents/img/homepage_carousel/3.jpg) center center; background-size:cover;" class="slider-size">
51 <div class="carousel-sgn-caption">
52 <h3><a href="/organism/Capsicum_annuum/genome">Pepper Sps. Genomes</a></h3>
53 <p><a href="http://www.nature.com/ng/journal/v46/n3/full/ng.2877.html" target="_blank">Genome sequence of the hot pepper provides insights into the evolution of pungency in Capsicum species</a></p>
56 <div class="carousel-sgn-links">
57 <ul class="sgn_sm_list">
58 <a href="/jbrowse_solgenomics/?data=data%2Fjson%2FPepper.v.1.55"><li>Browse the pepper genome</li></a>
59 <a href="/tools/blast?db_id=217"><li>Find sequences by similarity</li></a>
60 <a href="ftp://ftp.solgenomics.net/genomes/Capsicum_annuum/"><li>Download the annotations</li></a>
61 <a href="ftp://ftp.solgenomics.net/genomes/Capsicum_annuum/"><li>Download the Genome Sequence</li></a>
69 <div style="background:url(/documents/img/homepage_carousel/carousel_benth.jpeg) center center; background-size:cover;" class="slider-size">
70 <div class="carousel-sgn-caption">
71 <h3><a href="/organism/Nicotiana_benthamiana/genome"><i>N. benthamiana</i> Genome</a></h3>
72 <p><a href="http://apsjournals.apsnet.org/doi/abs/10.1094/MPMI-06-12-0148-TA" target="_blank">A draft genome sequence of <i>Nicotiana benthamiana</i> to enhance molecular plant-microbe biology research</a></p>
75 <div class="carousel-sgn-links">
76 <ul class="sgn_sm_list">
77 <a href="http://bti.cornell.edu/research/projects/nicotiana-benthamiana/"><li>The <i>N. benthamiana</i> sequencing project</li></a>
78 <a href="/jbrowse_solgenomics/?data=data%2Fjson%2FNiben1.0.1&loc=Niben101Scf00005"><li>Browse the genome</li></a>
79 <a href="/tools/blast/?db_id=266"><li>Find sequences by similarity</li></a>
80 <a href="http://vigs.solgenomics.net"><li>Design VIGS constructs</li></a>
81 <a href="ftp://ftp.solgenomics.net/genomes/Nicotiana_benthamiana"><li>Downloads</li></a>
90 <div style="background:url(/documents/img/homepage_carousel/carousel_petunia.jpeg) center center; background-size:cover;" class="slider-size">
91 <div class="carousel-sgn-caption">
92 <h3><a href="http://www.nature.com/articles/nplants201674" target="_blank">Petunia Sps. Genomes</a></h3>
93 <p><a href="http://www.nature.com/articles/nplants201674" target="_blank">Insight into the evolution of the Solanaceae from the parental genomes of Petunia hybrida</a></p>
96 <div class="carousel-sgn-links">
97 <ul class="sgn_sm_list">
98 <a href="/jbrowse_solgenomics/?data=data%2Fjson%2FPeaxi162&loc=Peaxi162Scf00001"><li>Browse the <i>P. axillaris</i> genome</li></a>
99 <a href="/jbrowse_solgenomics/?data=data%2Fjson%2FPeinf101&loc=Peinf101Scf00001"><li>Browse the <i>P. inflata</i> genome</li></a>
100 <a href="/tools/blast/?db_id=270"><li>Find sequences by similarity</li></a>
101 <a href="http://vigs.solgenomics.net"><li>Design VIGS constructs</li></a>
102 <a href="ftp://ftp.solgenomics.net/genomes/Petunia_axillaris"><li><i>P. axillaris</i> Downloads</li></a>
103 <a href="ftp://ftp.solgenomics.net/genomes/Petunia_inflata"><li><i>P. inflata</i> Downloads</li></a>
111 <!-- <div class="item">
112 <div style="background:url(/documents/img/homepage_carousel/carousel_slideshare.png) center center; background-size:cover;" class="slider-size">
113 <div class="carousel-sgn-caption">
114 <a href="http://www.slideshare.net/solgenomics" target="_blank">
115 <h3>SGN SlideShare</h3>
116 <p>Slides from conferences and courses</p>
120 <div class="carousel-sgn-links">
121 <ul class="sgn_sm_list">
122 <a href="http://www.slideshare.net/solgenomics/sol-meeting-2015-sgn-workshop-introduction?related=1" target="_blank"><li>SOL Meeting 2015</li></a>
123 <a href="http://www.slideshare.net/solgenomics/sgn-introduction-to-unix-commandline-2015-part-1?related=1" target="_blank"><li>Introduction to UNIX Command-line</li></a>
133 <div style="background:url(/documents/img/homepage_carousel/sol2019.jpg) center center; background-size:cover;" class="slider-size">
134 <div class="carousel-sgn-caption" style="opacity: 0.95; background-color: #efefef">
135 <a href="https://www.sol2019.org/" target="_blank" style="color: #00426c">
136 <!-- <h3>Solcuc2017</h3> -->
137 <h3>The 16th Solanaceae Conference</h3>
138 <p>September 15th - 19th 2019, Jerusalem, Israel</p>
142 <div class="carousel-sgn-links" style="background-color: #efefef">
143 <ul class="sgn_sm_list">
144 <a href="https://www.sol2019.org/registration" target="_blank"><li style="color: #00426c">Registration</li></a>
145 <a href="https://www.sol2019.org/program-outline" target="_blank"><li style="color: #00426c">Program outline</li></a>
146 <a href="https://www.sol2019.org/general-information" target="_blank"><li style="color: #00426c">Venue and Information</li></a>
155 </div><!-- Wrapper for slides end-->
157 <div class="progress" style="height:5px">
158 <hr class="transition-timer-carousel-progress-bar" />
161 <!-- Left and right controls -->
162 <a id="prev_slide" class="left carousel-control" href="#myCarousel" role="button" data-slide="prev" style="color:white;">
163 <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
164 <span class="sr-only">Previous</span>
166 <a id="next_slide" class="right carousel-control" href="#myCarousel" role="button" data-slide="next" style="color:white;">
167 <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
168 <span class="sr-only">Next</span>
173 <ul id="btn_carousel_indicators" class="nav nav-pills nav-justified sgn_carousel_button_group">
174 <li><a data-target="#myCarousel" data-slide-to="0">Varitome</a></li>
175 <li class="active"><a data-target="#myCarousel" data-slide-to="1">Tomato</a></li>
176 <li><a data-target="#myCarousel" data-slide-to="2">Pepper</a></li>
177 <li><a data-target="#myCarousel" data-slide-to="3"><i>N. benthamiana</i></a></li>
178 <li><a data-target="#myCarousel" data-slide-to="4">Petunia</a></li>
179 <li><a data-target="#myCarousel" data-slide-to="5">SOL Meeting</a></li>
180 <!-- <li><a data-target="#myCarousel" data-slide-to="6">5th ISTD</a></li> -->
184 .sgn_carousel_button_group {
187 width:98% !important;
191 height: 400px; /* This is your slider height */
196 margin:0 auto; /* center your carousel if other than 100% */
200 .carousel-sgn-caption {
205 padding: 0px 10px 0px 10px;
210 text-decoration: none;
211 background-color: #fff;
213 filter: alpha(opacity=80); /* For IE8 and earlier */
214 border-top-right-radius:12px;
215 border-bottom-right-radius:12px;
218 .carousel-sgn-caption a {
220 text-decoration: none;
223 .carousel-sgn-caption a:hover {
225 text-decoration: none;
228 .carousel-sgn-links {
237 text-decoration: none;
238 background-color: #fff;
240 filter: alpha(opacity=85); /* For IE8 and earlier */
241 border-top-left-radius:12px;
242 border-bottom-left-radius:12px;
245 .carousel-sgn-links ul {
246 padding: 10px 0px 0px 15px;
247 list-style-type: none;
250 .carousel-sgn-links a {
252 text-decoration: none;
255 .carousel-sgn-links a:hover {
257 text-decoration: none;
275 .sgn_sm_list li:hover {
279 #btn_carousel_indicators {
283 @media (min-width: 0px) and (max-width: 768px) {
285 .carousel-sgn-caption {
295 .carousel-sgn-links {
296 background-color: #efefef;
304 .carousel-sgn-links ul {
316 border: 1px solid #ddd;
319 .sgn_sm_list li:hover {
321 background-color: #fff;
325 /* .carousel-indicators {
335 border: 1px solid #ccc;
338 .sgn_carousel_button_group {
341 width:98% !important;
351 .transition-timer-carousel-progress-bar {
353 background-color: #337ab7;
370 <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
375 jQuery(document).ready(function() {
377 var $item = jQuery('.carousel .item');
378 // var $wHeight = $(window).height();
380 var numberofSlides = jQuery('.item').length;
381 var randomSlide = Math.floor((Math.random() * numberofSlides));
382 var currentSlide = randomSlide;
384 jQuery('.carousel-indicators li').each(function(){
385 var $slideValue = jQuery(this).attr('data-slide-to');
386 if (randomSlide == $slideValue) {
387 jQuery(this).addClass('active');
388 $item.eq($slideValue).addClass('active');
390 jQuery(this).removeClass('active');
391 $item.eq($slideValue).removeClass('active');
395 jQuery('#btn_carousel_indicators a').each(function(){
396 var $slideValue = jQuery(this).attr('data-slide-to');
397 // alert("currentSlide: "+$currentSlide+", slideValue: "+$slideValue)
398 if (randomSlide == $slideValue) {
399 jQuery(this).parent().addClass('active');
401 jQuery(this).parent().removeClass('active');
405 jQuery('#myCarousel').bind('slid.bs.carousel', function (e) {
406 jQuery('.carousel-indicators li').each(function(){
407 if (jQuery(this).hasClass('active')) {
408 currentSlide = jQuery(this).attr('data-slide-to');;
412 jQuery('#btn_carousel_indicators li').removeClass('active');
414 jQuery('#btn_carousel_indicators a').each(function(){
415 var $slideValue = jQuery(this).attr('data-slide-to');
416 // alert("currentSlide: "+currentSlide+", slideValue: "+$slideValue)
417 if(currentSlide == $slideValue) {
418 jQuery(this).parent().addClass('active');
425 // $("#myCarousel").swiperight(function() {
426 // $("#myCarousel").carousel('prev');
429 // $("#myCarousel").swipeleft(function() {
430 // $("#myCarousel").carousel('next');
438 interval = 50,//time showing each slide
439 $bar = jQuery('.transition-timer-carousel-progress-bar'),
440 $crsl = jQuery('#myCarousel');
442 $crsl.carousel({//initialize
445 }).on('slide.bs.carousel', function (){percent = 0;});//restart progress bar on new slide
447 function progressBarCarousel() {
448 $bar.css({width:percent+'%'});
449 percent = percent +0.5;
452 $crsl.carousel('next');
455 var barInterval = setInterval(progressBarCarousel, interval);//set interval to progressBarCarousel function
456 if (!(/Mobi/.test(navigator.userAgent))) {//tests if it isn't mobile, progress bar stop on mouse over slide
457 $crsl.hover(function(){
458 clearInterval(barInterval);
461 barInterval = setInterval(progressBarCarousel, interval);
469 jQuery(".ui-loading").css("display","none");
470 jQuery(".ui-loader").css("display","none");