![]() |
Have bbs load bottom of page instead of top from outside URL
How would I go about loading forum.php so when you click on the link it loads the page from the bottom first with an anchor? So the link would look like www.mydomain.com/bbs folder/forum.php#footer
|
I am not sure I understand your question, it is a bit unclear.
When forum.php is executed it loads template FORUMHOME. So you could place an anchor in "FORUMHOME right above the footer template variable. You could also place your anchor in the "footer template" directly, thus making it available on all pages. Not sure if this is what you are looking for. :) Code:
<a href="#footer"></a> |
Quote:
That would load the footer part of the page if one would follow that link. That is what I am trying to do. Sorry to be confusing. |
Quote:
|
Quote:
just above it and it did not work. Do I wrap that href code around something? |
It works, but you will have to reposition the anchor to the top of your shoutbox or the template hook that it uses. :)
Code:
http://forum.huskermax.com/vbbs/forum.php#footer You could try sticking the anchor above: Code:
{vb:raw template_hook.forumhome_below_forums} |
Why not just use:
Code:
http://forum.huskermax.com/vbbs/forum.php#footer_time |
Thanks both ideas work. :)
|
Yeah, I just gave you a alternative to adding additional code to the template. :)
|
Quote:
|
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> |
Quote:
|
Yeah it is a pretty neat trick if you want to direct someone to a specific spot on a page. :)
|
Yes !!! :) ... I tried it and it kicks butt !!! Thanks my Man !!
|
Not a problem. :)
|
Quote:
Here is a link, for those that are interested. Since we have sidetracked this thread terribly. :) http://www.motive.co.nz/glossary/anchor.php |
Quote:
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. |
Link to the page, and what spot you want it to anchor to?
|
All times are GMT. The time now is 06:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|