Click to See Complete Forum and Search --> : best way to include html


Xtrme_XJ
02-09-2010, 12:58 PM
I made a javascript function that places a navigation bar on all the pages on my site. I see that it loads slowly and sometimes doesn't show up. I am also helping a guy with their site and they are using a webbot include that was put in when the guy made his site using frontpage and it is causing a lot of problems. I was wondering what the best way to put my navigation bar in so that I can change it on every page in one place and have it load quickly.

cfajohnson
02-09-2010, 09:41 PM
Use server-side includes (SSI):


<!--#include file="navbar" -->