Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Auto-Scroll Sig (3rd Apr 08 at 5:15pm UTC) | | This code will make it so that if a user enters a sig that is too wide for the forum it will add a scrollbar to the bottom of it to stop the forum from stretching.
<script type="text/javascript"> <!-- /* Auto-Scroll Sig by Cr0w & Wrighty! =P */
var td = get('td','tag'); var w = (vf_width * 0.8) + 'px';
for(t=0;t<td.length;t++){ if(td[t].className == "post signature"){ var d = document.createElement('div'); d.style.cssText = "width: "+w+"; overflow-x: auto;"; d.appendChild(td[t].firstChild.nextSibling); td[t].appendChild(d); } } //--> </script>
Global Footer | |
|