I have found a temporary solution to my problem, and here's the code in case anyone else finds it useful.
In this example I am using the Pausing up-down Scroller found here:
http://www.dynamicdrive.com/dynamicindex2/crosstick.htm
In order to have a text document that someone can edit the items in the array, use this code:
Code:
<script type="text/javascript" src="text.txt">
</script>
In place of this:
Code:
var pausecontent=new Array()
pausecontent[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a><br />Comprehensive JavaScript tutorials and over 400+ free scripts!'
pausecontent[1]='<a href="http://www.codingforums.com">Coding Forums</a><br />Web coding and development forums.'
pausecontent[2]='<a href="http://www.cssdrive.com" target="_new">CSS Drive</a><br />Categorized CSS gallery and examples.'
Take that code, and put it into your "text.txt" file.
When the page loads, it will read you text file and work properly.
One important note is to make sure you comment out any single quotes in your array items that are not the beginning and end single quotes.
As in the case of using a contraction like "don't" the ' has to have a backslash in front of it like this:
"don\'t"
in order to work properly.
Bookmarks