vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   to the top button.... (https://vborg.vbsupport.ru/showthread.php?t=168195)

loco63 01-19-2008 01:38 PM

to the top button....
 
im interested in adding a to the top button in the bottom right hand corner of each post. this way, if your all the way at the bottom of a page, its a simple mouse click to get to the top instead of scrolling.

im running vb 3.6.3

UncoderMom 01-21-2008 03:49 AM

At the top of your page, above $navbar put...
Code:

<a name="top"></a>
Then at the bottom (you might want to center the code) above $footer
Code:

<a href="#top">BACK TO TOP</a>
All done.. back to top. :)

Marco van Herwaarden 01-21-2008 06:30 AM

Or press your <Home> button on the keyboard.

UncoderMom 01-21-2008 12:51 PM

If only all users were that smart hehe :p

Marco van Herwaarden 01-22-2008 08:53 AM

I have never understood the requests for a home/bottom link. In my personal experience it is much easier/quicker to just hit that 1 key, instead of having to navigate a mouse to a link and clicking it.

UncoderMom 01-22-2008 12:19 PM

True, but its much harder to constantly try an educate your noob users (a lot are like, home what?). LOL. I dont use the code myself but I see why some would find it practical.

Plus when I'm surfing its all mouse till I have to type. So theoretically, for me, more often then not, it would be easier to push a button on the bottom then to slide out my keyboard. :)


All times are GMT. The time now is 08:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01038 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete