Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <code>$(document).ready(function(){
- $('#homebox_tabs div').hide();
- $('#homebox_tabs div:first').show();
- $('#homebox_tabs ul li:first').addClass('active');
- $('#homebox_tabs ul li a').click(function(){
- $('#homebox_tabs ul li').removeClass('active');
- $(this).parent().addClass('active');
- var currentTab = $(this).attr('href');
- $('#homebox_tabs div').hide();
- $(currentTab).show();
- return false;
- });
- });</code>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement