Skip to content
TORNLIFE More

HTML/CSS Anchor Tags...

Started by AeroKnight [12070] on in Suggestions.

0 replies · 11 views · thread synced · 7 days ago · View on torn.com
About this thread

Posts archived: 1 / 1 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
1
Discussion span
→
People posting
1
Likes on archived posts
0
Authority score
23 / 100
Historical score
12 / 100
Story score
24 / 100
Engagement score
22 / 100
AeroKnight [12070]

When in the GYM and clicking on any specific stat to train in it makes your page jump to the top of the page.
This is annoying win you are training multiple times. While increasing the screen size helps, but a simple code change here to make this not happen.. (The old gym used to do this also...)

All anchor tags that link to something dynamically remove the href="#". In CSS you can do: a:hover{ cursor:pointer; }
This gives the same results it normally would, but removes the "back to top" action. As when you link to a hashtag this is for targeting specific spots on a page. Ex: page.php#idofelement

I would suggest doing this to any dynamic anchor that doesn't actually use the "href."