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]
|