Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.kwicks li').hover(function(){
- var index = $(this).index() + 1;
- if($(this).is('.bw'+index)){
- $(this).addClass('col'+index)
- .removeClass('bw'+index);
- }
- }, function(){
- var index = $(this).index() + 1;
- if($(this).is('.col'+index)){
- $(this).addClass('bw'+index)
- .removeClass('col'+index);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement