|
-
-
Most of the time this is done with a server side include, which is where you put your navigation in one file and then "link" to it from your pages. To do this you need to know what sort of server side language your server supports (PHP, .NET, ASP...). Then you just change your page extension -- mypage.html becomes mypage.php for example -- and add the proper include code.
Here are a couple of examples:
mypage.html becomes mypage.shtml, navigation is in nav/nav.html. In mypage.shtml:
Code:
<!--#include virtual="/nav/nav.html" -->
mypage.html becomes mypage.php, navigation is in nav/nav.html. In mypage.php:
Code:
<?php include '/nav/nav.php'; ?>
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|