Karl,
How would one go about overriding jQuery's show() and hide() functions
to move the desired element to a negative screen position (CSS left:
-10000) instead of changing the CSS display to none?
Carl
Karl Swedberg wrote:
On Jan 16, 2009, at 7:56 PM, Michael Geary wrote:
<snip>
If you want an element to become invisible but remain part of the layout,
then set .attr({visibility:'hidden'}) instead of using .hide(). Use
.attr({visibility:'visible'}) to display it again.
Excellent explanation, as always, Mike.
One oops, though:
.attr({visibility:'hidden'}) and .attr({visibility:'visible'})
should be
.css({visibility:'hidden'}) and .css({visibility:'visible'})
--Karl
____________
Karl Swedberg
www.englishrules.com <http://www.englishrules.com>
www.learningjquery.com <http://www.learningjquery.com>