I'm wondering why you would want that too.
That said it's much easier, rather than add a 'cursor driven left only' value for the mouse property, to just add a true/false leftonly property (right click and 'Save As'):
crawler-left.js
With the attached modified version you can add a leftonly boolean, ex:
Code:
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler',
style: {
'width': '700px',
'height': '150px'
},
inc: 10, //speed - pixel increment for each iteration of this marquee's movement or max speed if 'cursor driven'
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
stopped: true,
leftonly: true,
neutral: 150
});
</script>
That crawler will only move to the left.
Bookmarks