vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Back to top (https://vborg.vbsupport.ru/showthread.php?t=305140)

DemOnstar 11-28-2013 04:38 PM

Ok...

https://www.noneedforthetimebeing.com

Much appreciated...

tbworld 11-28-2013 05:35 PM

Quote:

Originally Posted by DemOnstar (Post 2464359)
I feel that the JS script I created is preventing or hiding the true top of the page.

Yep, your right. All that needs to be done is to alter your JavaScript, adding a function to scroll to top and patching the JavaScript in the navbar to call that function. I have to run since it is 'Thanksgiving', but I will take a look at it later tonight for you.

DemOnstar 11-29-2013 02:07 AM

Quote:

Originally Posted by tbworld (Post 2464382)
Yep, your right. All that needs to be done is to alter your JavaScript, adding a function to scroll to top and patching the JavaScript in the navbar to call that function. I have to run since it is 'Thanksgiving', but I will take a look at it later tonight for you.

Hell, I thought I had finished with JS...

Enjoy the celebration...

ozzy47 11-29-2013 02:32 AM

Ok what we need to do then is create a anchor for the pages. Open your header template, and at the very beginning, add the following:
Code:

<a name="anchor"></a>
Then edit the tab you made for the Top, and change the field, Target URL to this:
Code:

{vb:raw relpath}#anchor" onclick="document.location.hash='anchor'; return false;

DemOnstar 11-29-2013 06:27 AM

Mr Ozzy47, you appear to be unstoppable...

Job done! Good fella.......

Without your good self and tbworld, this site would not be the flurry of activity that it is now..
It is a little unfair to mention names as there are one or 2 more including Mr Lloyd but you 2 boys have helped me tremendously..

I am sure the appreciation goes out site wide...

Well done chaps! First rate......

tbworld 11-29-2013 09:10 AM

There are a lot of good knowledgeable folks around here, most of them know far more about vBulletin then I do. I certainly am learning as much as I am giving. It is enjoyable helping others with their projects especially when they allow us to be interpersonal with them and their project. Thanks for the comment, it is nice to hear now and then.

By the way, I am doubting that @Ozzy47 is a real person, he may be a coding bot of some sort. :)

DemOnstar 11-29-2013 03:01 PM

Quote:

Originally Posted by tbworld (Post 2464492)

By the way, I am doubting that @Ozzy47 is a real person, he may be a coding bot of some sort. :)

Have to agree on this one..

The best programmers built him.

ozzy47 11-29-2013 03:04 PM

You would have to ask, Oscar Goldman how I was built. :)

DemOnstar 11-29-2013 03:16 PM

Some secrets are never passed on....


All times are GMT. The time now is 02:10 AM.

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.02891 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete