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.
30 lines
502 B
30 lines
502 B
semantic.home = {};
|
|
|
|
// ready event
|
|
semantic.home.ready = function() {
|
|
|
|
// selector cache
|
|
var
|
|
$navigationItem = $('.demo .menu .item'),
|
|
$oddballItem = $navigationItem.filter('.oddball')
|
|
;
|
|
|
|
$navigationItem
|
|
.tab()
|
|
;
|
|
$oddballItem
|
|
.on('click', function() {
|
|
$(this)
|
|
.tab('deactivate all')
|
|
.tab('activate tab', 'third')
|
|
.tab('activate navigation', 'third')
|
|
;
|
|
})
|
|
;
|
|
};
|
|
|
|
|
|
// attach ready event
|
|
$(document)
|
|
.ready(semantic.home.ready)
|
|
;
|