Difference between revisions of "Template:Washington"
Line 391: | Line 391: | ||
var n=str.replace("_temp",""); | var n=str.replace("_temp",""); | ||
$('html,body').animate({scrollTop:$(n).offset().top}, 1000); | $('html,body').animate({scrollTop:$(n).offset().top}, 1000); | ||
+ | }); | ||
+ | |||
+ | $('#tabs').w2tabs({ | ||
+ | name: 'tabs', | ||
+ | active: 'tab1', | ||
+ | tabs: [ | ||
+ | { id: 'tab1', caption: 'Tab 1' }, | ||
+ | { id: 'tab2', caption: 'Tab 2' }, | ||
+ | { id: 'tab3', caption: 'Tab 3'}, | ||
+ | |||
+ | ], | ||
+ | onClick: function (event) { | ||
+ | $('#tab-content').html('Tab: ' + event.target); | ||
+ | } | ||
}); | }); | ||
Revision as of 09:32, 17 September 2015