This is my first question here so try to make my best so you can understand it clearly...
So my problem is that I want to load menus and footers from external HTML file so It would be easier later modify them. I can't use php or other server-side languages cause it's for school and I use it from usb stick.
My current code goes like this:
<head>
<title>SchoolStuff</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<div id="header">
<p>[Stuff here]</p>
</div>
<script >
$("#header").load("/header.html #header");
</script> ...
and in the header.html it look like this:
<body>
<div id="header">
<ul>
<li><a href="#"> Just a Test</a></li>
</ul>
</div>
So do you guys have any ideas how to do this? It doesn't matter if you solve this in something else than jquery but it can't be server-side language. And IFrame doesn't work for this kind of purpose because I don't want the whole page. I just want specific parts.
EDIT: ok it looks like it just wont work in chrome (which is really weird though)
so if you have any ideas to get it work in chrome too it would be appreciated
EDIT 2: I decided to put my site online so it's easier for everyone...