"Brett" <no@spam.net> wrote in message
news:Ce********************@rcn.net...
I don't really need it for the href. I'm using an image's onClick to do
something else. I'd like to have the image (Just a colored circle)
depress
rather than text. Is there a way to draw a color circle using something
similar to the above and have it depress than pop back up? I would then
use
the href to direct the user to some location (actually I'm making a table
row appear).
You're running up against the most basic headache of the WWW.
The original intent (of the designers of the WWW and hence browsers) was to
handle text and links. Hence "HTML" as "Hyper Text Markup Language".
But, increasingly, people want to use the WWW and browsers to develop
on-line applications. So they are looking for an API that gives them
buttons, menus, dialogs, text areas, and so forth, that behave with all the
flexibility of a programming API.
This may happen. But meanwhile, you're forced to all sorts of strange
contortions to try to fit the richness of a programming API onto HTML
browsers.
You can put tons of JS on a page, and thereby do much of what you want.
Java applets provide some help, as do things like Flash, but you're still
trying to stretch things to fit. But the more you do this, the more your
page risks being browser-specific and platform-specific, the more work you
have to do, and the fewer people who will experience your UI as you
intended.
I keep hoping there's a way out of this box. Meanwhile, my advice (which I
keep repeating to myself and to my clients) is "don't try to use the Web as
a replacement for applications." For the time being, these are two separate
spaces. The closer you keep your web "applications" to the things that
browsers do well, the easier it will be to develop your code, and the easier
it will be for users to get full usefulness from your work. And, this
sucks, because you just can't get very creative.