Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- jQuery(function(){
- if( navigator.userAgent.match(/Android/i) ||
- navigator.userAgent.match(/webOS/i) ||
- navigator.userAgent.match(/iPad/i) ||
- navigator.userAgent.match(/iPhone/i) ||
- navigator.userAgent.match(/iPod/i)){
- jQuery('video').remove();
- jQuery('.pix_overlay_pattern').before(
- '<div class="pix_slide" data-position="fixed" data-top="0" data-bottom="not">'+
- '<div data-src="THE_COMPLETE_URL_OF_YOUR_BACKGROUND_IMAGE"></div>'+
- '</div>'+
- '<div id="pixwall_target" data-position="fixed" data-top="0" data-bottom="not"></div>'
- );
- jQuery('.pix_slide').pixwall();
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement