You are here: Re: onClick() on an anchor that doesn't force the page to jump to the top? « HTML « IT news, forums, messages
Re: onClick() on an anchor that doesn't force the page to jump to the top?

Posted by nice.guy.nige on 10/06/90 11:43

While the city slept, Andy Dingley (dingbat@codesmiths.com) feverishly
typed...

> <a href="#" onClick="function(); return false;"><img
> src="image.gif"></a>

Or... <a href="image.gif" onClick="function; return false;">......

> There are still issues about whether this is a good idea, and how to
> support non-JS

As for non-JS, see above. Although this is still not the ideal solution to
the poster's problem, as it will just open an instance of the image.

Cheers,
Nige

--
Nigel Moss http://www.nigenet.org.uk
Mail address will bounce. nigel@DOG.nigenet.org.uk | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"

 

Navigation:

[Reply to this 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

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