ElEditors, Interface administrators, Administrators
85,546
edits
mNo edit summary |
mNo edit summary |
||
Line 13: | Line 13: | ||
}; | }; | ||
})(); | })(); | ||
addOnloadHook(function(){ | addOnloadHook(function(){ | ||
$('div.tabdiv > ul > li').click(function(){ | $('div.tabdiv > ul > li').click(function(){ | ||
$(this).parent().parent().find('> div').hide(); | $(this).parent().parent().find('> div').hide(); | ||
Line 23: | Line 20: | ||
$(this).parent().find('>li').removeClass('active').addClass('inactive'); | $(this).parent().find('>li').removeClass('active').addClass('inactive'); | ||
$(this).removeClass('inactive').addClass('active'); | $(this).removeClass('inactive').addClass('active'); | ||
}); | |||
$('div.tabdiv > ul > a:first').each(function(){ | |||
$(this).attr('href', ''); | |||
}); | }); | ||
}); | }); | ||
* | /* | ||
addOnloadHook(function($) { | addOnloadHook(function($) { | ||
return function() { | return function() { | ||
Line 52: | Line 52: | ||
} | } | ||
}(jQuery)); | }(jQuery)); | ||
*/ | |||
/****************************** Slides JS ******************************/ | /****************************** Slides JS ******************************/ | ||
addOnloadHook(function(){ | addOnloadHook(function(){ |