"Beauregard T. Shagnasty" <> wrote in
news

oQUb.44687$%:
> When you posted this site for review some time ago, it was pointed out
> that your JavaScript menus would keep ~15% of visitors out. Your 50%
> might including the Googlebot and his friends.
>
> There is no reason to use a JavaScript menu on these pages.
>
> Another tip: you need to resize images. The colin.jpg image is
> 480x621, and 33KB. You should resize it to 148x191 as in your HTML,
> and it would only be about 5KB.
Actually, the combination of Javascript-dependent menus and large images
can lose you another segment of your audience: those who have Javascript
enabled but don't like waiting for slow image loads. I ran into this a
couple days ago when I was looking to buy some more memory and I went to
Best Buy's site (<http://www.bestbuy.com>). The front page was loading
rather slowly, as it had about 60 images on it. Fortunately, the links
became visible almost right away, so I just clicked on "computers."
Nothing. I stopped the load and clicked on "computers." Nothing. I
noticed that the link for "computers" used the javascript
: pseudo-protocol,
and then it dawned on me: they were using a Javascript-dependent menu
system that did its initialization at the onLoad event, which only occurs
once all the images are loaded and never occurs if the load is stopped.
Just for the hell of it, I decided to test my hypothesis and it turned out
to be true; once I waited for the whole thing to load, there was a nice-
looking pull-down menu system. As it turned out, my patience was rewarded;
they had a *very* good sale on exactly the memory I was looking for. But
if I had been in a hurry, I'd have just written them off.
Navigation should become active the moment it becomes visible (and it
should become visible as soon as possible). And keep in mind that many
sites link to off-site images such as ads or counters; if one of those
hangs up, then a site which isn't usable until after onLoad becomes
unusable, period. If you're going to use fancy script-driven menus, write
them so that they start out as plain lists of links and then get rearranged
into something prettier by script. If you actually *understand*
Javascript, that's a bit of work, but not an awful lot, and you can reuse
it a lot. If your understanding of Javascript is limited to making minor
tweaks to downloaded code that you cut and paste into your work, that's
basically impossible and you're better off not using script-enhanced
navigation at all.