MyBB Community Forums

Full Version: Help learning about scroll anchors pls
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Smile

I'm very very new to html sorry and i'd like my forum to auto scroll to the top of post or threads when changing pages etc.

Meaning when i click on a board it will scroll straight down to the threads rather than the top of the page.


I'm very very new and i wouldn't even know where to start sorry, but i kinda know it's a code i can just put in the header that auto scrolls half way down with the scroll bar and anchor  ... idk sorry.


How would i do this pls ? or can i request one ? and learn at the same time Smile


thank you  http://jedsblog.tk/PotAds
<a name='#hi'></a>

<a href='#h'>content</a>

its achors. all you need to do is make archors and link em and it will scroll to that section or such.
(2016-09-17, 03:48 AM)leroymcqy Wrote: [ -> ]<a name='#hi'></a>

<a href='#h'>content</a>

its achors. all you need to do is make archors and link em and it will scroll to that section or such.

Thanks for the reply.

ok so how would i make these work to autoscroll down on every page change when your in a thread ?