1
Good morning! I’m trying to make a Master Page in HTML 5. I created an HTML page called master.html with every menu structure I want. I call this page the following way on my index.php page and it works:
<html>
<body>
<div id="new-header">
<script>
$("#new-header").load("page/master.html");
</script>
</div>
<div>Index</div>
</body>
</html>
When I call this same structure on another page, profile.html for example, the master structure does not work ! What am I doing wrong ?
look face sincerely was to work the load in this div, edit and put the path of index.php and where is the master.html, apparently is the path that is incorrect, otherwise I see another solution.
– Thiago Friedman
would like to know how the new content will be inserted in the inherited page ?
– Regis Faria