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

Multiple IE bugs

Former-commit-id: 77704bfd
Former-commit-id: a2ebf688c45d2e7373b198d895f0f3b32571d391 [formerly dfef99a5dff2d46de2ddd3075acc5e899df8a4a0]
Former-commit-id: 79fa805e32e9d997a5f387027272d5609de9df51
parent 6da9a635
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
*/ */
function initialise_document_ready_functions() function initialise_document_ready_functions()
{ {
/*
if ($("html").height()<700){ if ($("html").height()<700){
//<li id="menu-item-ts_1" class="menu-item scroll"><a href="#ts_1">&nbsp;Food Security</a></li> //<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'; document.getElementById('divthemas').style.display = 'none';
...@@ -14,7 +14,7 @@ function initialise_document_ready_functions() ...@@ -14,7 +14,7 @@ function initialise_document_ready_functions()
document.getElementById('divthemas').style.display = 'inline'; document.getElementById('divthemas').style.display = 'inline';
} }
*/
// background_settings.change_on_mobile = true; // uncomment to enable background change on mobile // background_settings.change_on_mobile = true; // uncomment to enable background change on mobile
......
...@@ -108,16 +108,16 @@ ...@@ -108,16 +108,16 @@
);})() );})()
</script> </script>
<script >(function(){$( "#main-content" ).append( <script async>(function(){$( "#main-content" ).append(
$("<span>").load("visit.html") $("<span>").load("visit.html")
);})() );})()
</script> </script>
<script>(function(){$( "#main-content" ).append( <script async>(function(){$( "#main-content" ).append(
$("<span>").load("WSRC.html") $("<span>").load("WSRC.html")
);})() );})()
</script> </script>
<script>(function(){$( "#main-content" ).append( <script async>(function(){$( "#main-content" ).append(
$("<span>").load("education.html") $("<span>").load("education.html")
);})() );})()
</script> </script>
...@@ -125,12 +125,12 @@ ...@@ -125,12 +125,12 @@
$("<span>").load("gallery.html") $("<span>").load("gallery.html")
);})() );})()
</script> </script>
<script async> <script async>
(function(){$( "#main-content" ).append( (function(){$( "#main-content" ).append(
$("<span>").load("tour.html") $("<span>").load("tour.html")
);})() );})()
</script> </script>
<script async> <script async>
(function(){$( "#main-content" ).append( (function(){$( "#main-content" ).append(
$("<span>").load("maps.html") $("<span>").load("maps.html")
...@@ -142,12 +142,12 @@ ...@@ -142,12 +142,12 @@
$("<span>").load("ts_1.html") $("<span>").load("ts_1.html")
);})() );})()
</script > </script >
<script async> <script async>
(function(){$( "#main-content" ).append( (function(){$( "#main-content" ).append(
$("<span>").load("ts_2.html") $("<span>").load("ts_2.html")
);})() );})()
</script> </script>
<script async> <script async>
(function(){$( "#main-content" ).append( (function(){$( "#main-content" ).append(
$("<span>").load("ts_3.html") $("<span>").load("ts_3.html")
);})() );})()
...@@ -216,26 +216,26 @@ ...@@ -216,26 +216,26 @@
</body> </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 --> <!-- 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 --> <!-- 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 --> <!-- detect mobile browsers -->
<script src="assets/js/detectmobilebrowser.js"></script> <script async src="assets/js/detectmobilebrowser.js"></script>
<!-- detect scrolling --> <!-- 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 --> <!-- 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 --> <!-- asycn each for gallery -->
<script src="assets/js/jquery.async.js"></script> <script async src="assets/js/jquery.async.js"></script>
<!-- intro animations --> <!-- intro animations -->
<script src="assets/js/wow/wow.min.js"></script> <script async src="assets/js/wow/wow.min.js"></script>
<!-- responsive videos --> <!-- responsive videos -->
<script src="assets/js/jquery.fitvids.js"></script> <script async src="assets/js/jquery.fitvids.js"></script>
<!-- Custom functions for this theme --> <!-- Custom functions for this theme -->
<script src="assets/js/functions.js"></script> <script src="assets/js/functions.js"></script>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
- set each <li> id to this format: "menu-item-[the id of the .section-wrapper to link to]". - 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 --> - set href of each <a> to the id of the .section-wrapper to link to -->
<ul id="main-menu"> <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-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-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> <li id="menu-item-education" class="menu-item scroll"><a href="#education">Education</a></li>
...@@ -33,7 +35,8 @@ ...@@ -33,7 +35,8 @@
<div><!-- Full structure of colapsable --> <div><!-- Full structure of colapsable -->
<!-- header of dropable --> <!-- 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 --> <!-- content dropdown -->
<div class="collapse subthema subthema" id="ts_full"> <div class="collapse subthema subthema" id="ts_full">
<li id="menu-item-ts_1" class="menu-item scroll">&nbsp;</li> <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