I have in the left column News from Interesting authors, there is a link to go to the topic with the addition of #navstrip, that is, the browser window is reduced to the location bar -navstrip and how to do this in the list of FORUM topics so that when you click on the topic, this ending is added? and when you click on the "LAST MESSAGE" LINK, it was not added.
 i have the code, but it blows to the navstrip anyway
link example
https://stihi-podval.forumotion.com/t360-topic#navstrip
I can't edit the template where the list of forum topics is, it doesn't exist
- Code:
$(function(){ var a = $('div.maintitle.floated.clearfix'); var b = $('#navstrip'); var offset = a.offset(); if(b.length)offset = b.offset(); if(a.length+b.length==0)return; $(window).scrollTop(offset.top) });
the code that is