Difference between revisions of "Team:Korea U Seoul/template/contents slider"
Line 4: | Line 4: | ||
<style> | <style> | ||
− | .slider{padding:5px 100px; width: 100%; height: | + | .slider{padding:5px 100px; width: 100%; height: 500px; position: relative;} |
− | .slider > img { width: 100%; height: | + | .slider > img { width: 100%; height: 500px;} |
.slider_navi{position: absolute; bottom: 30px; left: 110px;} | .slider_navi{position: absolute; bottom: 30px; left: 110px;} | ||
.slider_navi > span {background-color: #242424; margin: 10px; cursor: pointer; padding: 5px 7px; color: #FFFFFF;} | .slider_navi > span {background-color: #242424; margin: 10px; cursor: pointer; padding: 5px 7px; color: #FFFFFF;} | ||
Line 26: | Line 26: | ||
var slider = $(".slider"); | var slider = $(".slider"); | ||
slider.width(953); | slider.width(953); | ||
− | slider.height( | + | slider.height(500); |
var slider_navi = $(".slider_navi"); | var slider_navi = $(".slider_navi"); | ||
var imgs = slider.children("img"); | var imgs = slider.children("img"); |
Revision as of 18:20, 18 September 2015