’n’ Things

A seemingly random compilation of web bits

Javascript Links 19.2.06

Why, in 2006, are there still websites using Javascript for links‽ I can understand them for AJAX overrides, but for chrissakes, web designers are using them for basic navigation. Look at this:

Picture of Cars Direct dot com website, highlighting its stupid Javascript link
Effin’ stupid, no?

It might not affect most people, but it’s a big problem for me, because it means that I have to wait for a webpage to fully load before I can click on anything, which can take ages on my dial-up connection. Nothing makes me madder than stopping a page, trying to click on a link, then realizing that it’s a Javascript link.

9 Comments

Blogger Blake 20.2.06  

I hear you.

The other day I was looking for a track map, and the site used a 1500px × 1500px image, and used the height and width attributes to force it into a 150px × 150px thumbnail!

It took me 10 minutes to download what should have been a 150px × 150px picture, because the designer was too lazy to make a real thumbnail. Not cool. :-(

Anonymous Giles Guthrie 20.2.06  

What, you mean creating a < button > and then specifying it as an image, and then using the Javascript onclick="" handler? Or do you mean using rollovers to swap images?

The former is for oafs, the latter is top-notch!

But not as top-notch as forcing the < ul > tag to bend to your will to create navigation bars. Heh heh heh

Blogger Sage 20.2.06  

I mean websites that do this:

<a href="javascript:goButton('https://www.carsdirect.com/order/contactinfo_direct');">

Instead of simply doing this:

<a href="https://www.carsdirect.com/order/contactinfo_direct">

And who uses Javascript for rollovers anymore? :-p

Blogger Blake 20.2.06  

Heh, Sage, I just noticed the interrobang! Lol, I can't even find that in character map, where the hell do you get these things? ;-)

Anonymous Giles Guthrie 21.2.06  

I mean websites that do this:
[code]
Instead of simply doing this:
[code]

Ha ha ha! That's so dim I didn't even think of it! And I couldn't be bothered browsing to the page to suss it out for myself.

And who uses Javascript for rollovers anymore? :-p

Your point is taken in the jest with which it is meant, but seriously, how would you do the toolbar on the left without using Javascript rollovers? I knocked it up in an hour in Fireworks.

Oh and I was right on the interrobang. <20pt = bad. ;)

Blogger Sage 21.2.06  

I can't even find that in character map, where the hell do you get these things?

OS X has a wonderful character palette that you can pull up in any application, and it has a very useful search field built into it (look near the bottom, where the blue focus ring is).

Your point is taken in the jest with which it is meant, but seriously, how would you do the toolbar on the left without using Javascript rollovers?

Com’n Giles, that’s too easy. ;-) I slapped this together in a few minutes:

windbags.org/toolbar.html

It uses just an unordered list, one image, and no Javascript.

Anonymous Blake 22.2.06  

Your interrobang doesn’t display in IE.

Blogger Sage 22.2.06  

You’re not allowed to use that browser.

Blogger Blake 23.2.06  

Sorry, it won’t happen again. I was too busy playing The Game.