},
‘fast’)
});
nums.show().delay(2000).animate({
top: tips.height() + ‘px’
},
‘fast’)
} else {
nums.show()
}
};
lis.size() > 1 && start()
};
var start = function () {
var active = ul.find(‘li.active’),
active_a = active.find(‘a’);
var index = active.index();
if (settings.direction == ‘left’) {
offset = index * li_width * -1;
param = {
‘left’: offset + ‘px’
}
} else {
offset = index * li_height * -1;
param = {
‘top’: offset + ‘px’
}










