homepage Welcome to WebmasterWorld Guest from 54.163.72.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved