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 Mark Parnell on 09/30/47 11:42

Deciding to do something for the good of humanity, Aaron Freeman
<aaronf@gmail.com> declared in alt.html:

> problem is that the image is below the fold, and when the user clicks
> on the image, the image swaps but the page links to "#" and scrolls the
> page to the top.

Assuming the user even has Javascript enabled/available. Anyone else
just gets taken to the top of the page, and nothing happens to the
image. Besides, swapping an image on click is an unusual occurrence -
most users will expect to be taken somewhere when they click.

--
Mark Parnell

Now implementing http://blinkynet.net/comp/uip5.html

 

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

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