|
Posted by Mark Parnell on 11/20/14 11:33
In our last episode, Richard Thoms <rdthoms@bellsouth.net> pronounced to
alt.html:
> The
> second link has no href in it (is that legal?)
What does the validator say?
> but accomplishes what I
> want to do (create a simple popup window and).
But it's not about what you want; it's what about what your visitor
wants. It's unlikely he/she/it wants a popup, and likely that their
browser or other software will block popups. Or they could have
Javascript disabled, in which case nothing will happen at all (at least
with a popup blocker, they may get a message telling them it's been
blocked).
> The problem is that the second link will not honor the A:hover style
No, the problem is that you are trying to force a popup on your
visitors.
> (color=red) in IE, it does work fine in Firefox.
IE doesn't support :hover on anything except links.
> I'm forced to set the color,
> decoration, and cursor to make it look like a link.
That's because without a href attribute it's not a link. It's just an
anchor.
--
Mark Parnell
http://clarkecomputers.com.au
Navigation:
[Reply to this message]
|