Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery not working in IE, works in other browsers
    primarykey
    data
    text
    <p>Currently coding a mates portfolio and not to my surprise the code isn't loading in IE!</p> <p>I'm coding it using standard AJAX, here's the relevant jQuery:</p> <pre><code>//ajax shtuff $(window).load(function() { // Ajax Cache! $.ajaxSetup ({ cache: false }); var $loadW = '&lt;div id="whiteLoader" /&gt;'; var $loadurl = $('.current').attr('href'); // Initial Page Load $('#con').prepend($loadW); $('#main').fadeOut('slow', function() { $(this).load($loadurl + ' .page', function() { $(this).parent().find('#whiteLoader').fadeOut('slow', function() { $(this).parent().find('#main').fadeIn('slow').css({background: 'red'}); $(this).remove(); }); }); }); $('nav ul li a').each(function() { $(this).click(function(e) { var $loadW = '&lt;div id="whiteLoader" /&gt;'; var $loadurl = $(this).attr('href'); // Prevent default hotlink e.preventDefault(); // Add the current state $('*').removeClass('current'); $(this).addClass('current'); // Load the Page $('#main').fadeOut('slow', function() { $('#con').prepend($loadW); $('#main').load($loadurl + ' #main', function() { $('#whiteLoader').fadeOut('slow', function() { $('#main').fadeIn('slow'); $(this).remove(); }); }); }); }); }); }); </code></pre> <p>Literally have no idea why this doesnt work lol, here's a link to the live page (I've put the background as red just to show you the area.)</p> <p>Also the reason the initial page is using the 'this' method is because I was testing it both ways.</p> <p><a href="http://212.7.200.35/~tfbox/zee/" rel="nofollow">http://212.7.200.35/~tfbox/zee/</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload