• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

[Suggestion]: Page Anchor on thread pagination

Davey

Champion
It would be most welcome for viewing threads with multiple pages if you could use the anchor "#pageDescription" at the end of the URL in thread-view mode, so it places the top of the page at the first message in the new page number selected. Currently when going back to a thread you previously visited, it places you at the last post using an anchor, but it'd be nice for there to be an anchor straight to the action for a thread you haven't yet viewed a new page to.

Right now, all it does it places you back at the top of the thread, so you have to scroll down. This is problematic for certain threads where the OP's message (I think if it's nilllzz or a development post) keeps appearing as the first message of the page.

In fact, in the Source code, the anchor #pageDescription is the closest element to the top of the message list. However, this is currently broken in certain threads where the OP's message appears as the first message on each page, as the ID is used twice in the same page. So when you call #pageDescription, instead of it putting you at the top of the pagination section, it places you at the top of the page because that is where the first #pageDescription is called.

It would make lurkers like me happy to save that extra bit of scrolling per thread per page . :)

Some pictures for you to view to make it clear what I mean.
source.jpg

correct.jpg
wrong.jpg
 

Darkfire

Administrator
Administrator
P3D Developer
That applies only to the announcement board
where it shows the announcement on the top of all pages in the thread
the thing at the top is the title and the profile of who posted the announcement
 

Davey

Champion
True but should there really be two pageDescription id's? You can't accurately anchor the one you wish to be located to because it only selects the first instance of it. It really does make reading announcement threads a pain.
 

Davey

Champion
Basically, websites can be 'anchored' so that you can click on a link and it takes you to a certain category on the page. This is basically used to send you to a specific part of a web page rather than the top of it. All you do is anchor to the ID of an element in the source code, and it takes you to that element.

To do this, you just reference the element by adding #ElementID at the end of the web address. This can be done predictively in the case of pagination, by slapping #pageDescription at the end of each link so that it takes you to that specific section of page.
 
Top