Team:UCLondon/Templates/bottom-content
From 2012e.igem.org
(Difference between revisions)
Line 42: | Line 42: | ||
</style> | </style> | ||
+ | |||
+ | |||
<div id="footer-boxes" class="shadowbox"> | <div id="footer-boxes" class="shadowbox"> | ||
Line 54: | Line 56: | ||
<div class="footer-box right"> | <div class="footer-box right"> | ||
<h3>Sponsors</h3> | <h3>Sponsors</h3> | ||
- | <div id="slides"> | + | <div id="sponsor-slides"> |
<div class="slides_container"> | <div class="slides_container"> | ||
<div> | <div> | ||
Line 80: | Line 82: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | $(function(){ | ||
+ | $('#sponsor-slides').slides({ | ||
+ | preload: true, | ||
+ | generateNextPrev: false | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | |||
+ | |||
var nHeight = ($('.footer-box.left').height() > $('.footer-box.right').height()) ? $('.footer-box.left').height() : $('.footer-box.right').height(); | var nHeight = ($('.footer-box.left').height() > $('.footer-box.right').height()) ? $('.footer-box.left').height() : $('.footer-box.right').height(); | ||
$('#footer-boxes').css('height', nHeight); | $('#footer-boxes').css('height', nHeight); |
Revision as of 20:38, 13 September 2012