I have this function for a marquee crawler and I need to add hover setting on the image but their is no css file, so the style is write in this function.
My question is can I add hover effect in javascript function and how to do it ?
Hope that my question is understood !
This is the function:
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '2px',
'width': '1000',
'background':'#9ec437',
'height': '160px'
},
inc: 5, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 1,
neutral: 150,
savedirection: true
});
</script>