0 Members and 2 Guests are viewing this topic.
I'd rather not do animations for the scroll downs. They're unnecessary, they'd add a considerable amount of code bloat, and they'd slow down on slower devices.
Me too, and it's great. Makes things so much faster now!EDIT: Only problem is that it doesn't tell you when there's been a ninja post before you
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[ window.addEventListener("load", smf_codeFix, false); function smf_codeFix() { var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div"); for (var i = 0; i < codeFix.length; i++) { if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0)) codeFix[i].style.overflow = "scroll"; } } // ]]></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[ window.addEventListener("load", smf_codeFix, false); function smf_codeFix() { var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div"); var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; if (is_chrome) { return; } for (var i = 0; i < codeFix.length; i++) { if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0)) codeFix[i].style.overflow = "scroll"; } } // ]]></script>