[thelist] javascript:// :is it necessary?

Brian King BKing at Impact-Technologies.com
Thu Jun 28 10:58:05 CDT 2001


> <a href="products.htm" target="active"
> onmouseover="images['imagename].src="
> Button2.jpg"" onmouseout="images['imagename'].src="Button1.jpg"">
> <img name="imagename" src="Button1.jpg" border="0" width="32" height="32">
> </a>

What do you mean by,
It works (and it is still javascript)
I don't have any JS functions or class or jars on the pages at all.  I seem
to not be understanding something here.  images[imagename].src is refering
to the object on the page.  Is that JS?  Have I unwittingly been writing JS
into my HTML mouseovers?

Brian W. King

 -----Original Message-----
From: 	thelist-admin at lists.evolt.org [mailto:thelist-admin at lists.evolt.org]
On Behalf Of The Optimizer
Sent:	Thursday, June 28, 2001 11:47 AM
To:	thelist at lists.evolt.org
Subject:	RE: [thelist] javascript://  :is it necessary?

> What is wrong with using the following instead of JavaScript for
> rollovers?
> Does this not work on most browsers?

It works (and it is still javascript), but the image won't be cached so it
will download onmouseover; temporarily not displaying the rollover state.



Regards

Chris Marsh


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list