// We're overriding the old toggle function, so
// remember it for later
- _toggle: jQuery.fn.toggle,
+ //_toggle: jQuery.fn.toggle,
/**
* Toggle between two function calls every other click.
jQuery.fn.extend({
// overwrite the old show method
- _show: jQuery.fn.show,
+ //_show: jQuery.fn.show,
/**
* Show all matched elements using a graceful animation.
},
// Overwrite the old hide method
- _hide: jQuery.fn.hide,
+ //_hide: jQuery.fn.hide,
/**
* Hide all matched elements using a graceful animation.
z.el.oldOverflow = jQuery.css( z.el, "overflow" );
// Make sure that nothing sneaks out
- if ( z.el.oldOverlay == "visible" )
- y.overflow = "hidden";
+ //if ( z.el.oldOverlay == "visible" )
+ y.overflow = "hidden";
// Each step of an animation
z.step = function(firstNum, lastNum){
jQuery.fn[ i ] = function(){
var a = arguments;
return this.each(function(){
- for ( var i = 0; i < a.length; i++ )
- $(a[i])[n]( this );
+ for ( var j = 0; j < a.length; j++ )
+ $(a[j])[n]( this );
});
};
});
* @name show
* @type jQuery
*/
- show: function(){
+ _show: function(){
this.style.display = this.oldblock ? this.oldblock : "";
if ( jQuery.css(this,"display") == "none" )
this.style.display = "block";
* @name hide
* @type jQuery
*/
- hide: function(){
+ _hide: function(){
this.oldblock = this.oldblock || jQuery.css(this,"display");
if ( this.oldblock == "none" )
this.oldblock = "block";
* @name toggle
* @type jQuery
*/
- toggle: function(){
+ _toggle: function(){
var d = jQuery.css(this,"display");
$(this)[ !d || d == "none" ? "show" : "hide" ]();
},
jQuery.event.trigger( type, data, this );
}
}
-};
\ No newline at end of file
+};