Have you ever joined a new affiliate program or created a new publication that you wanted to add to your existing navigational set up, but dreaded having to manually add the links to every page on your site?
The first line of your new file will look like this: on the last line.
Here's how your code might look:
Each backslash () should be preceded with another backslash.
Each apostrophe (') should be preceded with a backslash.
Next, you'll need to create a new directory on your server where you store your HTML files. Name this directory “content" (without the quotes) and upload your new . js file in ASCII.
Here's where the magic occurs. . . Place the following code in your HTML pages where you would like your navigate. js content to be displayed. Make sure you change the URL and direct it to your new . js file. The following code must be displayed exactly as it appears. Make sure there are no spaces after the first line of code.
If you've followed the above steps correctly, your navigational system should now be displaying on your web page. If you are receiving a script error message, most of the time, it's due to an extra space at the end of a line or an extra or missing character. Make sure you go over your code very carefully. Once you've created your content feed and it is displaying your content, updating your file will be simple.
Copyright © Shelley Lowery
About the Author:
Shelley Lowery is the author of the acclaimed web design course, “Web Design Mastery" (www.webdesignmastery.com ) and “eBook Starter - Give Your eBooks the look and feel of a REAL book" (www.ebookstarter.com )
Visit www.Web-Source.net to sign up for a complimentary subscription to eTips and receive a copy of Shelley's acclaimed ebook, “Killer Internet Marketing Strategies. "
You have permission to publish this article electronically, in print, in your ebook, or on your web site, free of charge, as long as the author bylines are included.