Team:ULB-Brussels/Template
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<!--init and scripts --> | <!--init and scripts --> | ||
- | + | <<script type="text/javascript" src="https://static.igem.org/mediawiki/2014/7/7f/Slider.jpg"></script> | |
- | < | + | |
- | + | ||
- | + | ||
<script> | <script> | ||
jssor_slider1_starter = function (containerId) { | jssor_slider1_starter = function (containerId) { | ||
- | |||
var options = { | var options = { | ||
- | $ | + | $DragOrientation: 3, |
- | $ | + | $ArrowNavigatorOptions: { |
- | + | $Class: $JssorArrowNavigator$, | |
- | $Class: $ | + | |
$ChanceToShow: 2, | $ChanceToShow: 2, | ||
- | $AutoCenter: | + | $AutoCenter: 0, |
- | $Steps | + | $Steps: 1 |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
}; | }; | ||
var jssor_slider1 = new $JssorSlider$(containerId, options); | var jssor_slider1 = new $JssorSlider$(containerId, options); | ||
- | } | + | }; |
</script> | </script> | ||
<!--main content --> | <!--main content --> | ||
Line 31: | Line 22: | ||
<tr><th><table style="background-color:#ebebeb;" width="90%" align="center"> | <tr><th><table style="background-color:#ebebeb;" width="90%" align="center"> | ||
<!-- Jssor Slider Begin --> | <!-- Jssor Slider Begin --> | ||
- | <!-- You can move inline styles to css file or css block. --> | + | <!-- You can move inline styles to css file or css block. --> |
- | <div id="slider1_container" style="position: relative; width: | + | <div id="slider1_container" style="position: relative; top: 0px; left: 0px; width: 1024px; |
- | height: 300px; | + | height: 300px; "> |
- | + | ||
- | <!-- Slides Container --> | + | <!-- Slides Container --> |
- | <div u="slides" style="cursor: move; position: absolute; left: 0px; top: 0px; width: | + | <div u="slides" style="cursor: move; position: absolute; left: 0px; top: 0px; width: 1024px; height: 300px; |
overflow: hidden;"> | overflow: hidden;"> | ||
+ | <div><img u="image" src="https://static.igem.org/mediawiki/2014/8/82/ULB2014PLACEHOLDER2.png" /></div> | ||
<div><img u="image" src="https://static.igem.org/mediawiki/2014/8/87/ULB2014PLACEHOLDER1.png" /></div> | <div><img u="image" src="https://static.igem.org/mediawiki/2014/8/87/ULB2014PLACEHOLDER1.png" /></div> | ||
- | |||
</div> | </div> | ||
- | + | ||
- | <!-- | + | <!-- Arrow Navigator Skin Begin --> |
<style> | <style> | ||
- | /* jssor slider | + | /* jssor slider arrow navigator skin 03 css */ |
/* | /* | ||
- | . | + | .jssora03l (normal) |
- | . | + | .jssora03r (normal) |
- | . | + | .jssora03l:hover (normal mouseover) |
- | . | + | .jssora03r:hover (normal mouseover) |
- | . | + | .jssora03ldn (mousedown) |
+ | .jssora03rdn (mousedown) | ||
*/ | */ | ||
- | . | + | .jssora03l, .jssora03r, .jssora03ldn, .jssora03rdn |
{ | { | ||
- | background: url(https://static.igem.org/mediawiki/2014/ | + | position: absolute; |
+ | cursor: pointer; | ||
+ | display: block; | ||
+ | background: url(https://static.igem.org/mediawiki/2014/d/d3/ULB2014ARROWS.png) no-repeat; | ||
overflow:hidden; | overflow:hidden; | ||
- | |||
} | } | ||
- | . | + | .jssora03l { background-position: -3px -33px; } |
- | . | + | .jssora03r { background-position: -63px -33px; } |
- | . | + | .jssora03l:hover { background-position: -123px -33px; } |
- | . | + | .jssora03r:hover { background-position: -183px -33px; } |
+ | .jssora03ldn { background-position: -243px -33px; } | ||
+ | .jssora03rdn { background-position: -303px -33px; } | ||
</style> | </style> | ||
- | <!-- | + | <!-- Arrow Left --> |
- | < | + | <span u="arrowleft" class="jssora03l" style="width: 55px; height: 55px; top: 123px; left: 8px;"> |
- | + | </span> | |
- | + | <!-- Arrow Right --> | |
- | </ | + | <span u="arrowright" class="jssora03r" style="width: 55px; height: 55px; top: 123px; right: 8px"> |
- | <!-- | + | </span> |
- | + | <!-- Arrow Navigator Skin End --> | |
- | <a style="display: none" href="http://www.jssor.com">carousel slider</a> | + | <a style="display: none" href="http://www.jssor.com">carousel slider</a> |
- | <!-- Trigger --> | + | <!-- Trigger --> |
<script> | <script> | ||
jssor_slider1_starter('slider1_container'); | jssor_slider1_starter('slider1_container'); | ||
- | </script> | + | </script> |
- | </div> | + | </div> |
- | <!-- Jssor Slider End --> | + | <!-- Jssor Slider End --> |
<!--navigation menu --> | <!--navigation menu --> | ||
<td align="center" colspan="3"> | <td align="center" colspan="3"> |
Revision as of 21:03, 8 July 2014
<