Building Your Own JavaScript Database
Eventually you’ll want to replace the records I’ve provided with your own records. You can do this in three easy steps.
Open
records.jsin your text editor.Remove the records already there so that the file looks like this:
var profiles = new Array( );For each record you want to add, use the following syntax:
"Your_Page_Title|Your_Page_Description|http://your_page_url/file_name.html",
Add as many of these elements between the parentheses as you want. Be
sure to include the comma at the end of each
record—except the last one. Notice also
the page title, description, and URL are each separated by
| (the pipe character). Don’t use any of
those in your titles, descriptions, or URLs. That will cause
JavaScript errors. Remember, too that if you include double quotes
(“) other than the ones on the outside, be sure to escape them
with a backslash (e.g., use \” instead of just “).