As I'm sure you know jQuery waits for the entire page to load before it is enacted hence the $(document).ready(function().
I would guess that your host is putting that script at the bottom of your page...otherwise loose it or add it to the $(document).ready(function() call.
As Šime Vidas stated use css to hide the drop-downs. In fact you can use css to produce the "drop-down" menu with a layer of jquery to provide the fade in/out effects. Here are a few pure CSS drop-down menu examples:
http://www.sohtanaka.com/web-design/examples/drop-down-menu/
http://www.cssplay.co.uk/menus/final_drop.html
http://www.projectseven.com/tutorials/navigation/auto_hide/workpage.htm
Otherwise I do like the effects you came up with on the navigation.
< Corey
camwebdesign.com
On Sat, Jan 2, 2010 at 12:12 PM, attilio <hawkware@gmail.com> wrote:
that's exactly where i'm loading it from
even though i can hide it using CSS the animations still take a few
seconds to load which isn't good in my opinion
No comments:
Post a Comment