inherit
115566
0
Jun 15, 2022 20:07:54 GMT -8
Janella
111
December 2007
argos
|
Post by Janella on May 24, 2018 18:46:06 GMT -8
bump
|
|
inherit
254318
0
Jul 31, 2024 10:21:37 GMT -8
Bonnie
156
April 2018
bonniejo
|
Post by Bonnie on May 27, 2018 11:57:55 GMT -8
I have added the Navigation tree to the bottom of all my pages and it works great - except on the Quick Reply window. The Participated button is below the window, the Navigation tree is above the window. How do I get that one lined up so they all look the same? Whether it is on the top or the bottom doesn't matter, as long as it's all on the same line. If I disable the Quick Reply in forum settings it does line them up, but my users like the Quick Reply box. I don't see the private url option here but I can pm the forum address if needed. thank you
|
|
#e61919
Support Staff
224482
0
1
Nov 22, 2024 17:59:24 GMT -8
Scott
“Asking for help isn't giving up... it's refusing to give up.”
24,527
August 2015
socalso
|
Post by Scott on May 30, 2018 12:22:41 GMT -8
Bonnie , In your forum wrapper template on line 72 remove this: $[participated_threads_link] Then replace your original script: <script type="text/javascript"> $(document).ready(function(){ var navTreeTop = $('#navigation-tree').offset().top + $('#navigation-tree').height(); $(window).scroll(function(){ if($(window).scrollTop() > navTreeTop && !$('#navigation-placeholder').length){ $('#navigation-tree').before('<div id="navigation-placeholder"></div>').insertBefore($('.container.quick-reply, footer').first()); $('#navigation-placeholder').height($('#navigation-tree').height()).css('margin-bottom',$('#navigation-tree').css('margin-bottom')); } else if($(window).scrollTop() < navTreeTop && $('#navigation-placeholder').length) { $('#navigation-tree').insertAfter('#navigation-placeholder'); $('#navigation-placeholder').remove(); } }); }); </script>
.... with this updated script: <script type="text/javascript"> $(document).ready(function(){ var navTreeTop = $('#navigation-tree').offset().top + $('#navigation-tree').height(); $(window).scroll(function(){ if($(window).scrollTop() > navTreeTop && !$('#navigation-placeholder').length){ $('#navigation-tree').before('<div id="navigation-placeholder"></div>').insertBefore($('.container.quick-reply, footer').first()); $('.recent-threads-button').insertBefore('#navigation-tree'); $('#navigation-placeholder').height($('#navigation-tree').height()).css('margin-bottom',$('#navigation-tree').css('margin-bottom')); } else if($(window).scrollTop() < navTreeTop && $('#navigation-placeholder').length) { $('#navigation-tree, .recent-threads-button').insertAfter('#navigation-placeholder'); $('#navigation-placeholder').remove(); } }); }); </script> Note: thanks to Brian for the revised code.
|
|
inherit
254318
0
Jul 31, 2024 10:21:37 GMT -8
Bonnie
156
April 2018
bonniejo
|
Post by Bonnie on May 30, 2018 12:47:29 GMT -8
Perfect!! thank you! and thank you Brian!
|
|