Team:UCLondon/Templates/timeline-struct
From 2012e.igem.org
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> | <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> | ||
- | <script src=" | + | <script src="https://dl.dropbox.com/u/3703109/igeme/js/jquery.timelinr-0.9.51.js" type="text/javascript"></script> |
Line 67: | Line 67: | ||
position:relative; | position:relative; | ||
left: -30px; | left: -30px; | ||
- | padding-left: | + | padding-left: 0px; |
- | padding-right: | + | padding-right:0px; |
} | } | ||
#issues li.selected img { | #issues li.selected img { | ||
Line 148: | Line 148: | ||
// hack to increase the width of float element so the last item will display. | // hack to increase the width of float element so the last item will display. | ||
- | setTimeout((function() {$('#issues').css('width', parseInt($('#issues').css('width').replace('px', '')) + | + | setTimeout((function() {$('#issues').css('width', parseInt($('#issues').css('width').replace('px', '')) + 500 +"px" ); }), 1500); |
//$('#issues').css('width', parseInt($('#issues').css('width').replace('px', '')) + 3000 +"px" ); | //$('#issues').css('width', parseInt($('#issues').css('width').replace('px', '')) + 3000 +"px" ); |
Latest revision as of 14:45, 20 January 2013