Re: handling of # in href of an anchor that has an onclick question



Replying again, in this thread instead of the other. The other has
turned into an off-topic flamewar.

Yes. Blooie! Thanks for coming to the new thread.

So you're not allowed to use javascript: pseudo-URLs? Hrm...

If the link will ALWAYS cancel out, why must you use a link in the first
place? Why not a <span> that's styled to look like a link? The URL in
the status bar would never be useful anyway, if it's only "#".

For the same reason I can't use pseudo-URLs. A large portion of our
user base is seniors, and many of them won't click on a link unless
their status bar shows it to be a related or expected URL. You know,
it's one of those 'internet anti-phishing tactics for dummies' things.
We had to do a pain in the *** change to our online shopping cart on
another site because people didn't think it went over a secure
connection; the https submission was done via a javascript function
initiated by a button, rather than via a link they could hover over and
see an HTTPS URL in the status bar. We also wound up putting the whole
page out over HTTPS, just so people could see a little lock symbol on
the shopping cart page & feel all safe and warm and secure (never mind
that it tripled the time to load because of the time it took to
encrypt/decrypt all the JS that went along with the page!).

FYI, the # in the link actually shows up as the page URL in the status
bar, not as an #. In IE and FF it does, anyway.

Tyler

.


Loading