Team:Korea U Seoul/template/contents slider
From 2013.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<style> | <style> | ||
- | .slider{width: | + | .slider{width: 965px; height: 400px; position: relative;} |
- | .slider > img { width: | + | .slider > img { width: 965px; height: 400px;} |
.slider_navi{position: absolute; bottom: 30px; left: 10px;} | .slider_navi{position: absolute; bottom: 30px; left: 10px;} | ||
.slider_navi > span {background-color: #000000; margin: 10px; cursor: pointer; padding: 5px 7px; color: #FFFFFF;} | .slider_navi > span {background-color: #000000; margin: 10px; cursor: pointer; padding: 5px 7px; color: #FFFFFF;} | ||
Line 22: | Line 22: | ||
<script> | <script> | ||
var slider = $(".slider"); | var slider = $(".slider"); | ||
- | slider.width( | + | slider.width(965); |
slider.height(400); | slider.height(400); | ||
var slider_navi = $(".slider_navi"); | var slider_navi = $(".slider_navi"); |
Revision as of 16:01, 27 September 2013