Reply to Re: Can you insert a graphic offsite?

Your name:

Reply:


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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация