Hey there, I could really use some assistance: I currently have the following:
A) Login.html
B) Documentation.html
C) Base.html
Within the login page, there is a form with fields for User and Password. In Documentation, there are links to various folders such as Jquery, Bootraps, and more. As for Base.html, it contains a section of code that needs to be included on all pages. The code snippet is:
<div id="loading">
<div id="loading-msg" >
<img src="img/spin.png" class="rotating">
</div>
</div>
This code is meant to display a rotating logo while waiting for a response from the server (as outlined in Documentation.html):
<script type="">
$(document).ajaxStart(function(){
$("#loading").fadeIn( 500 );
});
$(document).ajaxStop(function(){
$("#loading").fadeOut( 100 );
});
</script>
To wrap things up, my query is: How can I integrate the code from "Base.html" into "Login.html"? When attempting to use:
<link href="../incluye/base.html" rel="import">
within the Head section, it does not seem to function properly.