MyBB Community Forums

Full Version: return to top/bottom scroll bar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
this is useful is you want to get to the very top and/or very bottom of your site with1 click, like so:

[Image: rrPMAbV.jpg]
There are two keys on a keyboard that work just as well. "Home" and "End." I really don't see the point in having a "To Top" and "To Bottom" links/images included in the core. If you really need it, just add:
<a name="top"></a>
To a header template.
<a name="bottom"></a>
To a footer template.

Then link to them using #top or #bottom in the href attribute.
Example:
<a href="#top>To Top</a>
If you want an arrow, just use the above example and instead of "To Top" use the IMG html tag and in the "src" attribute, provide the relative or exact path to the image.

I don't think it's really necessary to include this as a core function for MyBB 2.0.
(2015-09-16, 05:20 AM)Vashnik Wrote: [ -> ]There are two keys on a keyboard that work just as well. "Home" and "End." I really don't see the point in having a "To Top" and "To Bottom" links/images included in the core. If you really need it, just add:
<a name="top"></a>
To a header template.
<a name="bottom"></a>
To a footer template.

Then link to them using #top or #bottom in the href attribute.
Example:
<a href="#top>To Top</a>
If you want an arrow, just use the above example and instead of "To Top" use the IMG html tag and in the "src" attribute, provide the relative or exact path to the image.

I don't think it's really necessary to include this as a core function for MyBB 2.0.

a lot of modern sites have this included on their pages. mybb probably should, too.
(2015-09-16, 06:49 PM)andrewjs18 Wrote: [ -> ]
(2015-09-16, 05:20 AM)Vashnik Wrote: [ -> ]There are two keys on a keyboard that work just as well. "Home" and "End." I really don't see the point in having a "To Top" and "To Bottom" links/images included in the core. If you really need it, just add:
<a name="top"></a>
To a header template.
<a name="bottom"></a>
To a footer template.

Then link to them using #top or #bottom in the href attribute.
Example:
<a href="#top>To Top</a>
If you want an arrow, just use the above example and instead of "To Top" use the IMG html tag and in the "src" attribute, provide the relative or exact path to the image.

I don't think it's really necessary to include this as a core function for MyBB 2.0.

a lot of modern sites have this included on their pages. mybb probably should, too.

Then it should be a toggled feature if you insist on it being in the core. I would never use such a feature as it would interfere with my preferred browsing experience and it would be easier to be enable/disable it as a choice than to have to forcefully remove the feature. If I have to forcefully remove a feature because there isn't a way to disable it, that's the moment I move on to another software where I can run it out of the box without having to remove features I don't like and doesn't have an option to disable it.
(2015-09-16, 08:33 PM)Vashnik Wrote: [ -> ]
(2015-09-16, 06:49 PM)andrewjs18 Wrote: [ -> ]
(2015-09-16, 05:20 AM)Vashnik Wrote: [ -> ]There are two keys on a keyboard that work just as well. "Home" and "End." I really don't see the point in having a "To Top" and "To Bottom" links/images included in the core. If you really need it, just add:
<a name="top"></a>
To a header template.
<a name="bottom"></a>
To a footer template.

Then link to them using #top or #bottom in the href attribute.
Example:
<a href="#top>To Top</a>
If you want an arrow, just use the above example and instead of "To Top" use the IMG html tag and in the "src" attribute, provide the relative or exact path to the image.

I don't think it's really necessary to include this as a core function for MyBB 2.0.

a lot of modern sites have this included on their pages.  mybb probably should, too.

Then it should be a toggled feature if you insist on it being in the core. I would never use such a feature as it would interfere with my preferred browsing experience and it would be easier to be enable/disable it as a choice than to have to forcefully remove the feature. If I have to forcefully remove a feature because there isn't a way to disable it, that's the moment I move on to another software where I can run it out of the box without having to remove features I don't like and doesn't have an option to disable it.

if this were to be added in the core (and I believe it should if they're going for a modern feel), I'm fairly certain mybb would make it easy to enable/disable if someone decided to keep the default theme (most don't anyhow).
Everybody I know does indeed implement these jump-links into the postbit. So I think this would be a useful feature.

Removing it from the template should be easy if you don't want it. (Like I always remove the RSS button in the footer...)