Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Bootstrap Tab Hover Content Show
- $('.nav > li ').hover(function() {
- if ($(this).hasClass('hoverblock'))
- return;
- else
- $(this).find('a').tab('show');
- });
- $('.nav > li').find('a').click(function() {
- $(this).parent()
- .siblings().addClass('hoverblock');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement