Forum Moderators: open
Recently the site i run went to a javascript menu, before you all say 'noooo! not JAVA!' we basically had to do it, the menu was getting too long at the top of the page and the site director refuses to go back to a side menu system.
So...we went for a cool java style drop down list, really easy to configure as well :)
Theres only one problem though...loading...
AT the bottom of the page there is the nedstatbasic stat counter, which sometimes take ages to load, this runs on some small java as well but i think its a problem with there server running slow.
The Java menu system is almost at the top of the page, but it wont load until the nedstatbasic code has taken the hit info, so while thats loading the menu is gone...some of the sites visitors have commented on the loading time but dont mind waiting the extra 20 seconds or so...my site has a good following :)
Is there any HTML code which would force someone's browser to load the menu FIRST before it calls up anything else from the server? Cause i really dont want to have to rip out the applet and use something else :(
Thanks for any help :)
KV
Java requires a long time lag before rendering -- the user must wait while the Java Virtual Machine loads, and there's nothing you can do that can speed it up. 20 seconds sounds about right.
Then there's your stat counter, which I'll bet is calling out to another server that is slow to respond. Javascript is not the time waster here.
I'd say dump one or both. You can get stats without a slow-to-respond server. And you can have great navigation without the wait to fire up the JVM.