No problem, I was afraid you might need more of an explanation. I was in a rush and hoped it be enough. It's just as well though because I decided to try it out and discovered a glitch in IE and Opera that requires a bit more coding.
Get rid of this:
Code:
var mm = document.getElementById('Layer26').getElementsByTagName('div')[0].getElementsByTagName('div')[0].onmousemove;
document.getElementById('Layer23').onmousemove = mm;
document.getElementById('Layer25').onmousemove = mm;
}
You may put the code like so (added after your init for crawler):
Code:
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '2px',
'width': '600px',
'height': '180px'
},
inc: 5, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 2,
neutral: 150,
savedirection: true
});
(function(){
function setReact(){
var mm = document.getElementById('Layer26').getElementsByTagName('div')[0].getElementsByTagName('div')[0].onmousemove;
document.getElementById('Layer23').onmousemove = document.getElementById('Layer25').onmousemove = mm;
}
function reactTime(){
setTimeout(setReact, 300);
}
if(window.addEventListener){
window.addEventListener('load', reactTime, false);
} else if(window.attachEvent){
window.attachEvent('onload', reactTime);
}
})();
</script>
Any more questions, feel free to ask.
Bookmarks