quote:
Originally posted by ShawnZ
quote:
Originally posted by hmaster
overflow:auto;
No, that will show a scrollbar. Instead you need overflow:hidden to disable scrollbars.
True, but using auto should work too.
quote:
Originally posted by Juzzi
Hmm I could do document.write, I'll think about it, thanks.
I used:
code:
inc_syndicate_js =
'<marquee direction="left" height="20px" loop="30" scrollamount="2" scrolldelay="2" behavior="slide">'
+ 'New site now up!'
+ '</marquee>';
// end_var_declaration
document.write(inc_syndicate_js);
And then in the webpage I used
code:
<div id="marquee"><script type="text/javascript" src="marquee.js"></script> </div>