Team:TU Munich/lab/notebook
From 2011.igem.org
(Difference between revisions)
Line 171: | Line 171: | ||
onSelect: function(dateText, inst) { | onSelect: function(dateText, inst) { | ||
console.log(dateText); | console.log(dateText); | ||
- | $('.tabconent').ScrollTo({ | + | $('div.tabconent').ScrollTo({ |
- | offset: {top: '50px'}, | + | $('#'+dateText), |
- | + | 1000, | |
+ | {offset: {top: '50px'},easing: 'easeInElastic'} | ||
}); | }); | ||
} | } |
Revision as of 14:33, 15 September 2011