Technically speaking in javascript there are no commas allowed at the end of objects. However, most modern browsers with the exception of IE (possibly others, but I doubt it) now error correct this for you. In other words here (highlighted and red):
Code:
<script type="text/javascript">
marqueeInit({
uniqueid: 'Menu',
style: {
'padding': '1px',
'width': '100%',
'height': '360px',
},
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
});
</script>
at the end of the style object you have a trailing comma that doesn't belong, remove it:
Code:
<script type="text/javascript">
marqueeInit({
uniqueid: 'Menu',
style: {
'padding': '1px',
'width': '100%',
'height': '360px'
},
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
});
</script>
Bookmarks