-
1. Re: Cufon delay in navi menu
gold987987987-QSXruf Feb 8, 2010 2:50 PM (in response to gold987987987)Anyone out there? Hello?
I'll give anyone a remote air high-five if they can help me!
-
2. Re: Cufon delay in navi menu
John Waller Feb 8, 2010 4:05 PM (in response to gold987987987)I'm no expert on Cufon but I think you might need to relocate the Cufon scripts in your source code.
http://wiki.github.com/sorccu/cufon/usage
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="cufon-yui.js" type="text/javascript"></script>
<script src="Vegur_300.font.js" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('h1');
</script>The .js files should be in the <head> of the document as shown above (yours is towards the bottom).
The Cufon.now() IE workaround is suggested to be placed just before the closing </body> tag (yours is after the opening <body> tag)
http://wiki.github.com/sorccu/cufon/usage
Unfortunately one problem remains with Internet Explorer. In most cases, there is a short but visible delay before the text is replaced. You can avoid this issue by inserting the following snippet right before the closing
</body>tag (or before any external scripts such as Google Analytics):<script type="text/javascript"> Cufon.now(); </script>
-
3. Re: Cufon delay in navi menu
gold987987987 Feb 8, 2010 5:01 PM (in response to John Waller)Thanks for your help......but it didn't work......I tried what you suggested and it still has a big delay in IE.
Here's a page with the code as you suggested: http://www.excelcabinetsinc.com/copyof~index.html
FF, Chrome, Safari......no delay.
IE......delay.
Any other suggestions?
-
4. Re: Cufon delay in navi menu
John Waller Feb 8, 2010 5:46 PM (in response to gold987987987)No delay here in IE8. Seems to work fine.
Have you cleared your browser cache?
-
5. Re: Cufon delay in navi menu
gold987987987 Feb 8, 2010 5:58 PM (in response to John Waller)Yep, cleared the cache, the delay is still there. Are you rolling over the Doors and Accesories buttons? The delay happens when the drop down menu appears and the fonts are replaced. In FF and Chrome there is no delay, but in IE you can see the fonts being replaced(delay).
-
6. Re: Cufon delay in navi menu
John Waller Feb 8, 2010 6:26 PM (in response to gold987987987)Yes.
If I look hard enough I see a 1/10th sec delay in IE8 as the fonts are replaced.
I'm used to these fractional delays with sIFR and other replacement techniques.
I'm not even sure I would use font replacement in a dropdown menu myself though.
PS double 's' in Accessories.
-
7. Re: Cufon delay in navi menu
gold987987987 Feb 8, 2010 8:18 PM (in response to John Waller)I agree it's a small delay, but it's still there.......and it's even more annoying that other sites that use the same technique and menus don't have the delay. I would like to resolve this issue.
-
8. Re: Cufon delay in navi menu
John Waller Feb 8, 2010 8:26 PM (in response to gold987987987)Fair enough. Sorry that I cannot help you further.
-
9. Re: Cufon delay in navi menu
gold987987987 Feb 8, 2010 8:41 PM (in response to John Waller)No worries Walter, thanks for trying, I appreciate your help.
Any other suggestions folks?
-
10. Re: Cufon delay in navi menu
John Waller Feb 8, 2010 10:28 PM (in response to gold987987987)Not sure who Walter is but you're welcome
-
11. Re: Cufon delay in navi menu
gold987987987 Feb 8, 2010 10:36 PM (in response to John Waller)My bad.....Waller. Gotta learn to slow down....life is a blur!
-
12. Re: Cufon delay in navi menu
Nancy O. Feb 9, 2010 5:31 PM (in response to gold987987987)and it's even more annoying that other sites that use the same technique and menus don't have the delay.
Can you give us an example of a site that uses this???
I'm no expert with Cufon. But someone else's code might shed light as to how THEY reduce delay times.
It could be a simple ONLOAD event in the BODY tag... or perhaps forcing IE8 into IE7 emulation mode using a META tag.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
13. Re: Cufon delay in navi menu
gold987987987 Feb 9, 2010 5:42 PM (in response to Nancy O.)Sure thing. Here's a ton of examples. Not all of them have a navi menu with a drop down list but they are there.
http://wiki.github.com/sorccu/cufon/demos
Thanks in advance for your help!


