I believe the jquery show()/hide() functions use the display attribute 
and not the visibility attribute. Not long ago I switched over from 
using Prototype to jQuery and had to recode hidden divs to use those 
jQuery functions.

On 12/16/12 12:38 PM, Steve Milburn wrote:
> My personal preference would be to use the display CSS attribute instead of
> visibility.  Also, I would include that setting in a different class that I
> will not need after the page loads, say "myHiddenDiv".  Finally, utilize
> jQuery chaining so you don't have to scan the DOM twice.  So your code
> would look something like this:
>
> $("#mymenu").removeClass("myHiddenDiv").hide();
>
> Steve
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353499
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to