1
I have a question. I have a site in wordpress, and only on one page is not loading jQuery, and only on mobile! Can anyone help me? Follow the script that is not opening:
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('.close').click(function(){
jQuery(this).closest('.dinamicContent').removeClass('abredinamicContent');
jQuery(this).closest('html').removeClass('scrollHtml');
jQuery(this).closest('.dinamicContent').html( " " );
});
$('.fundoFecha').click(function(){
jQuery(this).closest('.dinamicContent').removeClass('abredinamicContent');
jQuery(this).closest('html').removeClass('scrollHtml');
jQuery(this).closest('.dinamicContent').html( " " );
});
jQuery.ajaxSetup({cache:false});
jQuery(".mudaPost").click(function(){
var post_link = jQuery(this).attr("href");
jQuery(".innerPortfolio").delay(350).fadeOut('slow');
jQuery(".dinamicContent").html("content loading");
jQuery(".dinamicContent").load(post_link);
return false;
});
jQuery('#statusdos').delay(700).fadeOut(); // will first fade out the loading animation
jQuery('#preloaderdos').delay(1000).fadeOut('slow'); // will fade out the white DIV that covers the website.
});
</script>
Ever tried debugging by Chrome? Plugging the phone into the computer, opening Chrome and putting as address
chrome://inspect
you can use the console and etc., but with the navigation of the phone. So you can see if there are any error messages :)– Felipe Elia