I am using this script on my site:
http://dynamicdrive.com/dynamicindex2/crosstick.htm
I stuck the head section of the code in news.js and put a include on my page:
<script type="text/javascript" src="news.js"></script>
and I put this where I wanted the scroller:
<script type="text/javascript">
//new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds)
new pausescroller(pausecontent, "pscroller1", "pscroller1", 4000)
</script>
Now my Firefox Javascript Toolbar tells me the function pausescroller is not defined. What am I doing wrong here? Thank you in advance.
PS, It worked find when I had news.js as a php include, but I needed this on a non-php page.



Reply With Quote
Bookmarks