inherit
jaredtrogers@gmail.com
198862
0
Aug 24, 2020 17:44:01 GMT -8
sneake
9
August 2013
sneake
|
Post by sneake on Apr 29, 2014 14:07:29 GMT -8
Forum URL: lockn.proboards.comIs it possible to add navigation buttons to the bottom of a thread? ie, when you reach the end of the thread, have buttons at the bottom that will take you back to the forum you were viewing or the main page?
|
|
#eb7100
33409
0
1
Apr 14, 2024 15:59:10 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Apr 29, 2014 14:12:14 GMT -8
Hi, sneake. David Clark made a code for someone previously that moves the navigation tree (the thing towards the top that says ProBoards Support > Support Board > Bottom Navigation Buttons) to the bottom of the page once you've reached it, but I can't seem to find his post where he provides the code. I've tagged him in this thread so hopefully he'll have some input when he returns on Thursday if he has it saved anywhere.
|
|
inherit
jaredtrogers@gmail.com
198862
0
Aug 24, 2020 17:44:01 GMT -8
sneake
9
August 2013
sneake
|
Post by sneake on Apr 29, 2014 14:32:55 GMT -8
Awesome! You rock. You say that it "moves" it to the bottom. Is it possible to have one at the top and one at the bottom?
|
|
#eb7100
33409
0
1
Apr 14, 2024 15:59:10 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Apr 29, 2014 14:34:30 GMT -8
The code moves it to the bottom when you're at the bottom of the page, but also moves it back to the top when you're at the top of the page so the code should essentially give that effect.
|
|
inherit
169146
0
Apr 7, 2024 5:23:13 GMT -8
Forever Sunshine
Fingerprints don't fade from the lives we touch. Great love & great achievement involve great risk.
1,743
July 2011
foreversunshine
|
Post by Forever Sunshine on Apr 29, 2014 14:53:12 GMT -8
sneake, here is the code Brian is speaking of that David Clark made for me . . . Go to Admin > Structure > Headers & Footers > Global Headers & Footers, and place this code in the Header box. It will move the navigation tree down to the bottom on long pages in the event that you're closer to the bottom of the page than the top. <script> $(document).ready(function() { var position = "top" $(window).scroll(function () { if ($(window).scrollTop() > $('body').height() / 2 && position == "top") { $('#navigation-tree').insertAfter('.container:last'); position = "bottom" } else if ($(window).scrollTop() < $('body').height() / 2 && position == "bottom") { $('#navigation-tree').insertBefore('#top-ad-banner'); position = "top" }; }); }); </script>
|
|
inherit
jaredtrogers@gmail.com
198862
0
Aug 24, 2020 17:44:01 GMT -8
sneake
9
August 2013
sneake
|
Post by sneake on Apr 29, 2014 16:59:18 GMT -8
Oh man, you guys are so awesome. Our board members will be very pleased!
|
|
inherit
jaredtrogers@gmail.com
198862
0
Aug 24, 2020 17:44:01 GMT -8
sneake
9
August 2013
sneake
|
Post by sneake on Apr 29, 2014 17:03:52 GMT -8
I know this is a SUPER picky request, but is there anyway I can place it below the Quick Reply box but above the Shoutcast box?
|
|
#eb7100
33409
0
1
Apr 14, 2024 15:59:10 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Apr 30, 2014 7:43:33 GMT -8
I don't know what that is. All I see is a message with a yellow background below the quick reply.
|
|
inherit
jaredtrogers@gmail.com
198862
0
Aug 24, 2020 17:44:01 GMT -8
sneake
9
August 2013
sneake
|
Post by sneake on Apr 30, 2014 14:24:56 GMT -8
Ya, we ended up just removing the shoutbox. Haha. Thank you though!
|
|
inherit
211974
0
Dec 30, 2014 19:45:08 GMT -8
Little One
I aim to please.
93
July 2014
thelittlestlittleone
|
Post by Little One on Jul 26, 2014 16:25:04 GMT -8
I tried this code and it works fine for the bottom, but when you scroll to the top the nav tree is at the very top of the board above the banner instead of where it belongs just above the thread title.
|
|
inherit
yllaciledehcysP citsatkranS
161169
0
Nov 28, 2013 18:47:45 GMT -8
moonbeam
I have NO IDEA what "psychedelic insultment" is, but I'm clearly a victim of it!
7,217
December 2010
lmccull
|
Post by moonbeam on Jul 26, 2014 17:02:15 GMT -8
Please start a new thread for your issue. This thread is several months old, and would have been marked as resolved.
|
|
inherit
211974
0
Dec 30, 2014 19:45:08 GMT -8
Little One
I aim to please.
93
July 2014
thelittlestlittleone
|
Post by Little One on Jul 26, 2014 17:51:17 GMT -8
I found a different code and solved the issue.
|
|