vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Have bbs load bottom of page instead of top from outside URL (https://vborg.vbsupport.ru/showthread.php?t=314343)

ozzy47 09-17-2014 11:42 PM

Correct, any part of the template that has a id you can anchor to, like so.

Code:

<h2 class="blockhead" id="SOME_TEXT">{vb:rawphrase some_sort_of_phrase}</h2>
So in that, id="SOME_TEXT" #SOME_TEXT would be your anchor. :)

CAG CheechDogg 09-17-2014 11:46 PM

Quote:

Originally Posted by ozzy47 (Post 2515553)
Correct, any part of the template that has a id you can anchor to, like so.

Code:

<h2 class="blockhead" id="SOME_TEXT">{vb:rawphrase some_sort_of_phrase}</h2>
So in that, id="SOME_TEXT" #SOME_TEXT would be your anchor. :)

NICE !!! I didn't know this lol ...:)

ozzy47 09-17-2014 11:54 PM

Yeah it is a pretty neat trick if you want to direct someone to a specific spot on a page. :)

CAG CheechDogg 09-18-2014 12:01 AM

Yes !!! :) ... I tried it and it kicks butt !!! Thanks my Man !!

ozzy47 09-18-2014 12:08 AM

Not a problem. :)

tbworld 09-18-2014 12:18 AM

Quote:

Originally Posted by ozzy47 (Post 2515555)
Yeah it is a pretty neat trick if you want to direct someone to a specific spot on a page. :)

This is standard HTML anchoring. I think it is a mistake to refer to it as a trick -- I know not your intention.

Here is a link, for those that are interested. Since we have sidetracked this thread terribly. :)

http://www.motive.co.nz/glossary/anchor.php

huskermax 09-19-2014 06:12 PM

Quote:

Originally Posted by ozzy47 (Post 2515553)
Correct, any part of the template that has a id you can anchor to, like so.

Code:

<h2 class="blockhead" id="SOME_TEXT">{vb:rawphrase some_sort_of_phrase}</h2>
So in that, id="SOME_TEXT" #SOME_TEXT would be your anchor. :)

So it has to have the h2 in it. Not sure with CSS what is an ID is.

I would like to anchor a link to one spot on forum.php. I have a list of 13 boards on forum.php Would like to set up an anchor to just one of them so when someone loads the anchor link it will load the page so that board is at top.

ozzy47 09-19-2014 07:20 PM

Link to the page, and what spot you want it to anchor to?


All times are GMT. The time now is 03:48 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.01061 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
  • (3)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
  • (8)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