This is a simple Random 'Tip' display JavaScript generate on the web page at:
[http://javascript.about.com/library/bltipgen.htm], that changes on each page refresh. There are other variations available on the site and on the web. I liked the simplicity of this one.
It relates to the request on the Sandvox Yahoo! group, ["Is it possible to create a pagelet designed just for a collection of quotes, i.e sale quotes..."]
I generated the JavaScript text in the 'Add Tip' box at the javascript page linked above (I only add three for this experiment), copied and pasted the text into a plain text TextEdit document :>>TextEdit: Format > Make Plain Text<< and saved the file as 'tip.js', confirming the '.js' extension. Then I pasted this following code into this Sandvox page between the horizontal lines :>>Sandvox: Edit > Paste HTML into Text<<
<script type="text/javascript" src="tip.js">
</script>
To get the tip.js file onto my site from Sandvox, I add this as a weblog collection: Site > Add Collection > Weblog, deleted the default enclosed page and added a download page Site > Add Page > File Download. For 'File Download' Choose... the 'tip.js' file in Inspector and 'unticked' the 'Include...' options to 'hide' the page. This means that Sandvox uploads the tip.js file to the same folder as this page.
