Acceptable website navigation methods?

In the past, I've created sites with navigation that are helped by the php $ _GET variables. The layout was implemented and then the content was included based on the variable passed in the url.

Now I am creating a website without any server side help. I am wondering what are some good ways to navigate through pages without the redundancy of repeating layout across multiple html files.

What navigation methods have you used in the past, and which in your opinion was the most acceptable / clean?

+1


source to share


2 answers


Not really clear what limits you are stuck with, but try:



  • If you have a web server and Apache server considers Server Side Includes ;
  • If you are using a static site from CD or you can use the preprocessor to create static pages including menus at compile time. Google for "HTML preprocessor", there are many of them;
  • they are righteously despised and "so last century", but did you count HTML frames ?
+1


source


Do you mean you have all the static files? Perhaps you can use AJAX?



0


source







All Articles