Last active
June 17, 2016 09:09
-
-
Save dreamark/1ac55d03e5c7e8f4c4b6f249de39eb1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(function(){ | |
$(window).on("DOMContentLoaded resize", function(){ | |
var adswich=$(window).width(); | |
if(adswich <=675){ | |
$('.ads-slot-02').insertAfter('.pager'); | |
}else{ | |
$('.ads-slot-02').insertAfter('.ads-slot-01'); | |
} | |
}); | |
})(jQuery); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment