mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Menu selector
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12449 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8a8b2f5400
commit
67bdda04ec
4 changed files with 362 additions and 285 deletions
|
|
@ -1154,39 +1154,7 @@ jQuery(function($){
|
|||
return contents;
|
||||
})(this[0]));
|
||||
}
|
||||
|
||||
var _hide = $.fn.hide;
|
||||
$.fn.hide = function(speed, easing, callback, htOpt) {
|
||||
//$(this).trigger('hide', [htOpt]);
|
||||
|
||||
$(this).find('.active').removeClass('active');
|
||||
|
||||
var sId = $(this).attr("id");
|
||||
|
||||
if($(this).hasClass("col")){
|
||||
$(this).next().hide(speed, easing, callback, htOpt);
|
||||
|
||||
if(sId){
|
||||
$(this).parent().find('a[href="#'+sId+'"]').parent('li.active').removeClass('active');
|
||||
}
|
||||
}
|
||||
|
||||
return _hide.apply(this, arguments);
|
||||
}
|
||||
|
||||
var _show = $.fn.show;
|
||||
$.fn.show = function(speed, easing, callback, htOpt) {
|
||||
//$(this).trigger('show', [htOpt]);
|
||||
|
||||
if($(this).hasClass("col")){
|
||||
$(this).next().hide(speed, easing, callback, htOpt);
|
||||
|
||||
setTimeout(scrollToRight, 0);
|
||||
//scrollToRight();
|
||||
}
|
||||
|
||||
return _show.apply(this, arguments);
|
||||
}
|
||||
|
||||
$.fn.prevUntilAnd = function(){
|
||||
var $result = $.fn.prevUntil.apply(this, arguments);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue