RE: jquery hide

2012-12-17 Thread Stephens, Larry V

I haven't tried it, yet, but look at http://tinyurl.com/ntjugd
 

-Original Message-
From: John M Bliss [mailto:bliss.j...@gmail.com] 
Sent: Sunday, December 16, 2012 2:09 PM
To: cf-talk
Subject: SOT: jquery hide


Hi! I'm using jquery to show/hide div containing primary nav. The problem
is that, on heavier pages, the code below does not perform the initial,
ready hide fast enough so you can see the nav flash on before it's
hidden. What's the best way to address this issue?

head
script
$(document).ready(function () {
$( #mymenu ).hide();
});
/script
/head

div id=mymenu class=mymenuclass onmouseover=$( '#mymenu' ).show();
onmouseout=$( '#mymenu' ).hide();
the menu
/div

-- 
John Bliss - http://about.me/jbliss




~|
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:353506
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: jquery hide

2012-12-17 Thread Marty Franklin

Why not initialize page with the navigation hidden and then show it when 
you need it?

#mymenu{
 display:hidden;
}

Best Regards,

*Marty Franklin*
/Information Technology/

*Asset Research Services, Inc.*
ma...@assetresearch.com mailto:ma...@assetresearch.com
skype: martyatarsi

*p* 800.783.9636 ext. 213
*m* 480.577.7238
*f* 888.496.5736

Asset Research Svcs Logo
/Licensed and Insured Construction Notice Services/

AssetResearch.com http://assetresearch.com/ | PrelimNOW.com 
https://prelimnow.com/ | RWSWebOnline.com http://rwswebonline.com/ | 
Remote Support https://secure.logmeinrescue.com/Customer/Code.aspx

*Confidentiality Notice:* This email is intended for the sole use of the 
intended recipient(s) and may contain confidential, proprietary or 
privileged information. If you are not the intended recipient, you are 
notified that any use, review, dissemination, copying or action taken 
based on this message or its attachments, if any, is prohibited. If you 
are not the intended recipient, please contact the sender by reply email 
and destroy or delete all copies of the original message and any 
attachments. Thank you.

On 12/17/2012 7:47 AM, Stephens, Larry V wrote:
 I haven't tried it, yet, but look at http://tinyurl.com/ntjugd
   

 -Original Message-
 From: John M Bliss [mailto:bliss.j...@gmail.com]
 Sent: Sunday, December 16, 2012 2:09 PM
 To: cf-talk
 Subject: SOT: jquery hide


 Hi! I'm using jquery to show/hide div containing primary nav. The problem
 is that, on heavier pages, the code below does not perform the initial,
 ready hide fast enough so you can see the nav flash on before it's
 hidden. What's the best way to address this issue?

 head
  script
 $(document).ready(function () {
 $( #mymenu ).hide();
 });
  /script
 /head

 div id=mymenu class=mymenuclass onmouseover=$( '#mymenu' ).show();
 onmouseout=$( '#mymenu' ).hide();
 the menu
 /div




~|
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:353507
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm