Commit 77704bfd authored by Jorge Samuel Mendes de Jesus's avatar Jorge Samuel Mendes de Jesus
Browse files

Multiple IE bugs

parent 91461ab1
......@@ -5,7 +5,7 @@
*/
function initialise_document_ready_functions()
{
/*
if ($("html").height()<700){
//<li id="menu-item-ts_1" class="menu-item scroll"><a href="#ts_1">&nbsp;Food Security</a></li>
document.getElementById('divthemas').style.display = 'none';
......@@ -14,7 +14,7 @@ function initialise_document_ready_functions()
document.getElementById('divthemas').style.display = 'inline';
}
*/
// background_settings.change_on_mobile = true; // uncomment to enable background change on mobile
......
......@@ -108,16 +108,16 @@
);})()
</script>
<script >(function(){$( "#main-content" ).append(
<script async>(function(){$( "#main-content" ).append(
$("<span>").load("visit.html")
);})()
</script>
<script>(function(){$( "#main-content" ).append(
<script async>(function(){$( "#main-content" ).append(
$("<span>").load("WSRC.html")
);})()
</script>
<script>(function(){$( "#main-content" ).append(
<script async>(function(){$( "#main-content" ).append(
$("<span>").load("education.html")
);})()
</script>
......@@ -125,12 +125,12 @@
$("<span>").load("gallery.html")
);})()
</script>
<script async>
<script async>
(function(){$( "#main-content" ).append(
$("<span>").load("tour.html")
);})()
</script>
<script async>
(function(){$( "#main-content" ).append(
$("<span>").load("maps.html")
......@@ -142,12 +142,12 @@
$("<span>").load("ts_1.html")
);})()
</script >
<script async>
<script async>
(function(){$( "#main-content" ).append(
$("<span>").load("ts_2.html")
);})()
</script>
<script async>
<script async>
(function(){$( "#main-content" ).append(
$("<span>").load("ts_3.html")
);})()
......@@ -216,26 +216,26 @@
</body>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script async src="assets/bootstrap/js/bootstrap.min.js"></script>
<!-- Easing - for transitions and effects -->
<script src="assets/js/jquery.easing.1.3.js"></script>
<script async src="assets/js/jquery.easing.1.3.js"></script>
<!-- background image strech script -->
<script src="assets/js/vegas/jquery.vegas.min.js"></script>
<script async src="assets/js/vegas/jquery.vegas.min.js"></script>
<!-- detect mobile browsers -->
<script src="assets/js/detectmobilebrowser.js"></script>
<script async src="assets/js/detectmobilebrowser.js"></script>
<!-- detect scrolling -->
<script src="assets/js/jquery.scrollstop.min.js"></script>
<script async src="assets/js/jquery.scrollstop.min.js"></script>
<script src="assets/js/lightbox/lightbox.min.js"></script>
<script async src="assets/js/lightbox/lightbox.min.js"></script>
<!-- owl carousel js -->
<script src="assets/js/owl-carousel/owl.carousel.min.js"></script>
<script async src="assets/js/owl-carousel/owl.carousel.min.js"></script>
<!-- asycn each for gallery -->
<script src="assets/js/jquery.async.js"></script>
<script async src="assets/js/jquery.async.js"></script>
<!-- intro animations -->
<script src="assets/js/wow/wow.min.js"></script>
<script async src="assets/js/wow/wow.min.js"></script>
<!-- responsive videos -->
<script src="assets/js/jquery.fitvids.js"></script>
<script async src="assets/js/jquery.fitvids.js"></script>
<!-- Custom functions for this theme -->
<script src="assets/js/functions.js"></script>
......
......@@ -23,6 +23,8 @@
- set each <li> id to this format: "menu-item-[the id of the .section-wrapper to link to]".
- set href of each <a> to the id of the .section-wrapper to link to -->
<ul id="main-menu">
<!-- IE bug -->
<li id="menu-item-visit" class="menu-item scroll" style="display:none"><a href="#intro">Intro</a></li>
<li id="menu-item-visit" class="menu-item scroll"><a href="#visit">Visits</a></li>
<li id="menu-item-WSRC" class="menu-item scroll"><a href="#WSRC">Collection</a></li>
<li id="menu-item-education" class="menu-item scroll"><a href="#education">Education</a></li>
......@@ -33,7 +35,8 @@
<div><!-- Full structure of colapsable -->
<!-- header of dropable -->
<div id="divthemas" style="display:none" data-toggle="collapse" href="#ts_full" class="pointercss hidden-xs">&nbsp;Soil themes <span class="glyphicon glyphicon-triangle-right"></span></div>
<!-- style="display:none" -->
<div id="divthemas" data-toggle="collapse" href="#ts_full" class="pointercss hidden-xs">&nbsp;Soil themes <span class="glyphicon glyphicon-triangle-right"></span></div>
<!-- content dropdown -->
<div class="collapse subthema subthema" id="ts_full">
<li id="menu-item-ts_1" class="menu-item scroll">&nbsp;</li>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment