マーキークローラー用のこの機能があり、画像にホバー設定を追加する必要がありますが、cssファイルではないため、この機能にスタイルが書き込まれます。
私の質問は、javascript 関数にホバー効果を追加できますか?またその方法は?
私の質問が理解されることを願っています! これは機能です:
<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>