Browse Source

updates home tab

pull/13/head
Jack Lukic 11 years ago
parent
commit
6c4d89fc8e
1 changed files with 5 additions and 7 deletions
  1. 12
      node/src/files/javascript/home.js

12
node/src/files/javascript/home.js

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

Loading…
Cancel
Save