|
@ -6,13 +6,11 @@ semantic.home.ready = function() { |
|
|
// selector cache
|
|
|
// selector cache
|
|
|
var |
|
|
var |
|
|
$navigationItem = $('.demo .menu .item'), |
|
|
$navigationItem = $('.demo .menu .item'), |
|
|
$oddballItem = $navigationItem.filter('.oddball'), |
|
|
|
|
|
// alias
|
|
|
|
|
|
handler |
|
|
|
|
|
|
|
|
$oddballItem = $navigationItem.filter('.oddball') |
|
|
; |
|
|
; |
|
|
|
|
|
|
|
|
$navigationItem |
|
|
$navigationItem |
|
|
.tabNavigation({ |
|
|
|
|
|
|
|
|
.tab({ |
|
|
history: true, |
|
|
history: true, |
|
|
path: '/' |
|
|
path: '/' |
|
|
}) |
|
|
}) |
|
@ -20,9 +18,9 @@ semantic.home.ready = function() { |
|
|
$oddballItem |
|
|
$oddballItem |
|
|
.on('click', function() { |
|
|
.on('click', function() { |
|
|
$(this) |
|
|
$(this) |
|
|
.tabNavigation('deactivate.all') |
|
|
|
|
|
.tabNavigation('activate.tab', 'third') |
|
|
|
|
|
.tabNavigation('activate.navigation', 'third') |
|
|
|
|
|
|
|
|
.tab('deactivate.all') |
|
|
|
|
|
.tab('activate.tab', 'third') |
|
|
|
|
|
.tab('activate.navigation', 'third') |
|
|
; |
|
|
; |
|
|
}) |
|
|
}) |
|
|
; |
|
|
; |
|
|