inherit
134992
0
May 26, 2012 2:38:57 GMT -8
SubDevo
Creator of LSD...
3,861
December 2008
subdevo
|
Post by SubDevo on Mar 4, 2011 6:06:36 GMT -8
Change Links to Auto Jump to Newest Post by SubDevoTested in IE, FF, Opera, Safari and Chrome. Ok, this code converts certain links to automatically jump to the newest post in a thread. On the main page (and sub-boards too), in the "Last Post" cell, the link that says "in bla bla" will be converted. On the thread list page (or "Latest Topics" page), the actual Subject link (NOT the cell behind it) in the "Subject" column will be converted. The days of scrolling all the way to the bottom of a page to get to the last post is gone! If you are a member of IOD, try clicking the link in the "Last Post" cell on the main page for a preview. NOTE: This code does not work for guests of your forum (only logged in members)!Enjoy!!! SubDevo Location: Global Footer<script type="text/javascript"> /* Change Links to Auto Jump to Newest Post by SubDevo */ /* Global Footer - Please leave this header intact. Do not repost. */ /* interoceandesigns.com or lsdp.proboards.com */
if(pb_username!="Guest"&&/^(home|boardindex)$/.test(pb_action)){ var n=document.links,a,b,x=-1; while(n[++x]){a=n[x].href; b=n[x].parentNode.parentNode; if((n[x].onclick||(b&&b.width=="24%"))&& a.indexOf("action=display")!=-1){ n[x].href=a.replace("=display","=gotonewpost");; }}} </script>
|
|