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.
45 lines
646 B
45 lines
646 B
semantic.dropdown = {};
|
|
|
|
// ready event
|
|
semantic.dropdown.ready = function() {
|
|
|
|
// selector cache
|
|
var
|
|
// alias
|
|
handler
|
|
;
|
|
|
|
// event handlers
|
|
handler = {
|
|
|
|
};
|
|
|
|
$('.first.example .menu .item')
|
|
.tab({
|
|
context: '.first.example'
|
|
})
|
|
;
|
|
|
|
$('.history.example .menu .item')
|
|
.tab({
|
|
context : '.history.example',
|
|
history : true,
|
|
path : '/modules/tab.html'
|
|
})
|
|
;
|
|
|
|
$('.dynamic.example .menu .item')
|
|
.tab({
|
|
context : '.dynamic.example',
|
|
auto : true,
|
|
path : '/modules/tab.html'
|
|
})
|
|
;
|
|
|
|
};
|
|
|
|
|
|
// attach ready event
|
|
$(document)
|
|
.ready(semantic.dropdown.ready)
|
|
;
|