Ho avuto la risposta dall'autore... la posto anche a voi per eventuali problemi futuri:
So, delete this:
Now add this in the script element with my scroller code:codice:<script type="text/javascript"> window.onload = function() { if (window.winOnLoad) window.winOnLoad(); } window.onunload = function() { if (window.winOnUnload) window.winOnUnload(); } </script>
codice:function xAddEventListener(e,eT,eL,cap) { if(!(e=xGetElementById(e)))return; eT=eT.toLowerCase(); if(e.addEventListener)e.addEventListener(eT,eL,cap||false); else if(e.attachEvent)e.attachEvent('on'+eT,eL); else { var o=e['on'+eT]; e['on'+eT]=typeof o=='function' ? function(v){o(v);eL(v);} : eL; } } xAddEventListener(window, 'load', winOnLoad, false);![]()
![]()

Rispondi quotando