Sequential Quotations | JavaScriptSource

Sequential Quotations

Jenson Dec 19, 1998

Easy to use! A sequential quotaion is shown every time the page is displayed. There's no code to change, just insert strings for your quotes (w/ cookies). The script uses a cookie, to remember between visits where it's been in the list. Unlike using random numbers, the user will see all the quotes before they start to repeat. This script uses the construction method to dynamically create an array of objects and the array.length property so the script user doesn't have to worry about the number of elements or finding all the locations of specific constants.

Leave a Response

(0 comments)