homepage Welcome to WebmasterWorld Guest from 54.234.231.49
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library : Charter : Moderators: incrediBILL & tedster

HTML Forum

    
Dynamic Navigation query
smart




msg:600288
 10:28 am on Jun 27, 2001 (gmt 0)

Can I use a linked javascript file to insert the HTML code for site navigation at the bottom of pages to avoid re-coding on all the pages when something changes?

 

knighty




msg:600289
 11:00 am on Jun 27, 2001 (gmt 0)

Hi Smart and Welcome to Webmaster World!

Yes you can use JS to create navigation at the bottom of your pages but I would reccomend using SSI instead.

You can create a file with your navigation in and then insert that file on the bottom of the pages, this way you only need edit the one file and all other pages that reference that file will be updated automatically

Files will need to be .shtml rather than html or htm. Just place

<!--#include virtual="navigation.html" -->

where you want your navigation to appear and thats it ;)

smart




msg:600290
 6:01 pm on Jun 27, 2001 (gmt 0)

thanks for the quick reply but i wouldlove to know the source cose for the js file that is to be made for solving my purpose....can u please send me that

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved