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 // 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')
; ;
}) })
; ;

Loading…
Cancel
Save