F
flix
hi,
using opera 9.1
my links "back to top of page" don't work.
<href="#">top</a>
???
using opera 9.1
my links "back to top of page" don't work.
<href="#">top</a>
???
flix said:kkKMh.1426$__3.825@edtnps90
hi,
using opera 9.1
my links "back to top of page" don't work.
<href="#">top</a>
flix said:hi,
using opera 9.1
my links "back to top of page" don't work.
<href="#">top</a>
That's not an Opera issue, but a coding issue.
<a href="#top">go to top of page</a>
Jukka said:Scripsit Els:
Actually, it _is_ an Opera issue. The URL reference "#" has a well-defined
meaning.
On the other hand, "back to top of page" links are worse than useless. Some
users might actually find them useful, but only because they don't know the
simple tools of their browsers. Others see the distracting pointless links.
Well, that's a bit worse. An adequate link text seldom contains a verb
(predicate) and hardly ever in the imperative.
Els said:<div><a name="top"> </a></div>
flix said:google search for <a href="#"> yields 63 million matches.
Bergamot said:I suspect many millions of those aren't what you think they are.
<a href="#"> is commonly used for JavaScript links. Whether that is a
good practice or not is another matter, of course.
I suspect many millions of those aren't what you think they are.
<a href="#"> is commonly used for JavaScript links. Whether that is a
good practice or not is another matter, of course.
Yes, but <href is missing the 'a' part.
- -
Pointless for some, useful for others. I've been navigating long pages
in my phone browser, and 'back to top' is a lot quicker than scrolling
per page (no home button on the phone).
Is it your nitpick day today?![]()
flix said: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.
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.
Jukka said:Scripsit Els:
Oh, I missed that. But the fixed code still does not work on Opera.
There's surely a quick way to get to the top on your browser. You just
haven't found it yet, and satisfaction with some back to top links helps you
avoid finding the solution.![]()
No, it is quite normal for me to comment on answers
that point to a wrong direction.
Jukka said:I could play Devil's advocate and develop a defence for this feature,
saying that Opera _does_ process the URL "#" by the specs but it does not
position the current document at the start, since no such behavior is
_required_
Even if that were true (which it isn't!),
I'm happy to provide
"superfluous" back to top links for those who haven't discovered the
home button on their browser, for whatever reason.
Also, just like I
prefer to use my keyboard far more than my mouse, some people surf the
web mainly by mouse - I think they prefer back to top links[1] too.
[1] Shouldn't 'back to top' also be wrong?
Who says I came from the top?
I reckon it should just be
"to top" links, not "back to top".
Or that a link such as '<a href="#">' is not *supposed* to do anything
according to RFC 1738, which states that the fragment identifier is
*after* the hash character, so the link is equivalent to '<a
href="">' which is equivalent to '<a>', so shouldn't do anything.![]()
Scripsit Toby A Inkster:
That is, they do not work according to specifications.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.