It helps to follow basic HTML practices. And -

Originally Posted by
jscheuer1
. . . demo page.
Follow the instructions there and it will work just fine.
These haven't been done here (from link in your post's source code):
Code:
<style type="text/pscroller1.css">
Which should be:
Code:
<style type="text/css">
And here:
Code:
<script type="text/javascript">
//new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds)
new pausescroller(pausecontent,1, "pscroller1", 1000)
document.write("<br />")
</script>
Which should be:
Code:
<script type="text/javascript">
//new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds)
new pausescroller(pausecontent, "pscroller1", "", 1000)
document.write("<br />")
</script>
That last bit document.write("<br />") isn't required.
By the way, if you want to use an external stylesheet, use a stylesheet link tag, ex:
Code:
<link rel="stylesheet" href="pscroller1.css" type="text/css">
not a style tag. Where pscroller1.css is a valid external stylesheet file in the same folder as the page. Again, it helps to follow basic HTML practices.
Bookmarks