Re: <PRELOAD> in <HEAD> section, MOUSEOVER attribute in <A> tag

I don't understand where the hassle lies in doing:

<a href="index.html" onMouseOver="document.imagename.src='foo.gif';"
onMouseOut="document.imagename.src='bar.gif';"><img src="foo.gif"
name="imagename" width="23" height="17" border="0"></a>

or did I miss something? Plus, as Tim said, if you're not using images to
achieve this you should have a stylesheet behind your document. You can make
it very easy and do (for example):

a { text-decoration : none; }
a:hover { text-decoration : underline; }

and then just treat your hyperlinks as normal, with <a href="foo.html">click
here</a> - you don't really need a class unless you want different styles of
hyperlinks within one page.



Just my 0.02 euros

Cheers
Jon


| JavaScript's mouseOver effect and the A:Hover effect of Cascading Style 
| Sheets have become so commonplace that I feel they deserve their own HTML 
| tags and parameters. This would eliminate unnecessary JavaScripting and 
| save web designers a lot of hassle. In order to achieve this, I propose
the 
| following plan:



Please visit us on the Internet:
http://www.witanjardine.co.uk

'The information included in this e-mail is of a confidential nature and is
intended only for the addressee.  If you are not the intended addressee, any
disclosure, copying or distribution by you is prohibited and may be
unlawful.  Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege of
confidentiality'

Received on Monday, 4 December 2000 04:35:37 UTC