You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i click on any forum anchor link, then the top edge of rendered page is behind the top bar of pbtech. Could every anchor link be rendered with top edge down under the top bar? So in other words every anchor rendered page moved down by top bar height?
Thank you. Biosek
The text was updated successfully, but these errors were encountered:
/* Anchor jump offset for top-bar */functionscroll_if_anchor(href){href=typeof(href)=="string" ? href : $(this).attr("href");if(!href)return;varfromTop=$topBarHeight+4;var$target=$(href);// Older browsers without pushState might flicker here, as they momentarily jump to the wrong position (IE < 10)if($target.length){$('html, body').scrollTop($target.offset().top-fromTop);if(history&&"pushState"inhistory){history.pushState({},document.title,window.location.href.split("#")[0]+href);//window.location.hash = href;returnfalse;}}}var$topBar=$('#top-bar');var$topBarHeight=0;if($topBar.length){$topBarHeight=$topBar.outerHeight();$("body").on("click","a[href^='#']",scroll_if_anchor);scroll_if_anchor(window.location.hash);}
When i click on any forum anchor link, then the top edge of rendered page is behind the top bar of pbtech. Could every anchor link be rendered with top edge down under the top bar? So in other words every anchor rendered page moved down by top bar height?
Thank you. Biosek
The text was updated successfully, but these errors were encountered: