|
|
Line 16: |
Line 16: |
| | | |
| <div class="featured"> | | <div class="featured"> |
− | <div class="wrap-featured zerogrid" style="width:80%; height:600px" > <!-- style可调 --> | + | <div class="wrap-featured zerogrid"> |
− | <div class="slider" > | + | <div class="slider"> |
| <div class="rslides_container"> | | <div class="rslides_container"> |
− | <ul class="rslides" id="slider" > | + | <ul class="rslides" id="slider"> |
− | <li style="width:100%; height:580px"><img src="https://static.igem.org/mediawiki/2016/1/1e/TeamTianjin_BG_Test.jpg"/></li> <!-- style可调 --> | + | <li><img src="assets/images/slide01.jpg"/></li> |
− | <li style="width:100%; height:580px"><img src="https://static.igem.org/mediawiki/2016/1/1e/TeamTianjin_BG_Test.jpg"/></li> | + | <li><img src="assets/images/slide02.jpg"/></li> |
− | <li style="width:100%; height:580px"><img src="https://static.igem.org/mediawiki/2016/1/1e/TeamTianjin_BG_Test.jpg"/></li> | + | <li><img src="assets/images/slide03.jpg"/></li> |
| </ul> | | </ul> |
| </div> | | </div> |
Line 268: |
Line 268: |
| | | |
| | | |
| + | <script> |
| + | $(function () { |
| + | $("#slider").responsiveSlides({ |
| + | auto: true, |
| + | pager: false, |
| + | nav: true, |
| + | speed: 500, |
| + | maxwidth: 962, <!-- style可调 --> |
| + | namespace: "centered-btns" |
| + | }); |
| + | }); |
| + | </script> |
| | | |
| | | |