Posted by Mark Parnell on 12/15/05 01:47
Deciding to do something for the good of humanity, Els
<els.aNOSPAM@tiscali.nl> spouted in alt.html:
> I couldn't comment on that, as I have no idea what that script is
> doing - I don't speak JavaScript...
The Javascript is grabbing the image location from the link and
displaying the image instead of the text (with the text as alt text),
and then removing the address from the link. OTTOMH it is the same
result (assuming Javascript enabled) as:
<a id="foo" href=""><img src="http://yoursite.example.com/image.jpeg"
alt="Image"></a>
Users without Javascript will of course just get the normal link.
--
Mark Parnell
=====================================================
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/
Navigation:
[Reply to this message]
|