I am newbie and I need to create a navigation menu for my web-site. A standard way to create it would be the following:
<ul>
<li><a href="default.html">Home</a></li>
<li><a href="news.html">News</a></li>
<li><a href="contact.html>Contact</a></li>
<li><a href="about.html">About</a></li>
</ul>
So, each time the navigation item is selected, a new HTML file is opened. But is it possible to re-write the content of particular DIV container instead of creating new HTML file?
You can do this with jQuery. See http://api.jquery.com/html/#html2 for details on changing the HTML contents of an element and http://api.jquery.com/jQuery.get/ for details on fetching content asynchronously using AJAX.