mirror of https://github.com/lukechilds/docs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
276 B
10 lines
276 B
switcherTab('uk-tab-instance');
|
|
|
|
function switcherTab(id){
|
|
$('#'+id+' a[href = "'+window.location.hash+'"]').parent('li').click();
|
|
|
|
$('#'+id+' a').click(function(){
|
|
var val = $(this).attr('href');
|
|
window.location.hash = val.replace("#", "");
|
|
});
|
|
}
|
|
|