You are here: Re: does Opera have an issue with <href="#"> ....? « HTML « IT news, forums, messages
Re: does Opera have an issue with <href="#"> ....?

Posted by Toby A Inkster on 03/25/07 08:42

flix wrote:

> i had always assumed that the href # was an HTML convention; IE and FF have
> no problem with it. It seems like an oversight that Opera coders couldn't
> allow for this. Harumph.

It's not "couldn't", but "chose not to". Opera 8.x and below *did*
recognise a link to "#" as a link to the top of the page. This was
*changed* in Opera 9.x to the behaviour described in this thread.

The new behaviour is far more useful because it means that links like:

<a href="#" onclick="javascript:....">

don't take you up to the top of the page when clicked. If people want to
go to the top of the page, they can just hit the "Home" key on their
keyboard to get back to the top of the page. One of Opera's main selling
points is its superb keyboard navigation, so a good percentage of regular
Opera users are familiar with and frequently use keyboard shortcuts like
this.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!

 

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

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