Avatar

Request: "Back To Forum Index" also at the bottom of page (General)

by Alfie ⌂ @, Vienna, Austria, Monday, February 04, 2019, 11:00 (143 days ago) @ Auge
edited by Alfie, Monday, February 04, 2019, 11:13

Hi Auge,

Wolltest du nicht ins Bett oder wollte ich dich nur dahin schicken? ;-)

Letzteres. Döselig, teilweise Fressanfälle um ½4 Uhr morgens.

Oh, a fence post or, not so pseudo german, a broad hint. :-)

:-D

In my forum […] I have another arrow which links to the top of the post …


Nice.

THX.

Unfortunately it is not 100% cross-browser safe but works at least in all I have tested (Windows: Chrome, Edge, Firefox, Opera, Safari; Android: Chrome, Firefox).


Beside the fact, that it is unsuitable in non graphical browsers or screen readers, …

Correct.

… it should work. With a few changes in the HTML-structure even better and for everyone.

Hint: The link target could be visible as "permanent link", should be a ID nowadays, and the link in itself should have content (the image with it's alternative text).

Agree. The link within posts is not empty (actually foo?id=XXX#topYYY, where XXX is the tid and YYY the id). I modified the scripts to have an anchor topYYY in each post. The image itself is not given in HTML but defined in CSS:

a.toplink:link {
  background-image:url(https://static.bebac.at/img/toparrow.png);
  text-decoration:none;
  background-color:transparent;
  opacity:.6;
  filter:alpha(opacity=60)
}
a.toplink:hover, a.toplink:active {
  background-image:url(https://static.bebac.at/img/toparrow.png);
  text-decoration:none;
  background-color:transparent;
  opacity:.4;
  filter:alpha(opacity=40)
}

Hence, no alternative text.

I’m aware that having an empty link

  <a class="toplink" href="" title="▲ top"> </a>

is clumsy. Since in my forum I have the top-menu fixed I couldn’t figure out how to get it right. :-( An empty link reloads the current page. I know, I know…

--
Best regards,
Alfie (Helmut Schütz)
BEBA-Forum (v1.8β)


Complete thread:

 RSS Feed of thread

powered by my little forum