Created
November 13, 2016 21:39
-
-
Save bitswarming/a96b820b04cdee97421f52d3909cd4aa to your computer and use it in GitHub Desktop.
zefir
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
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> | |
<script type="text/JavaScript"> | |
function timedRefresh(timeoutPeriod) { | |
setTimeout("location.reload(true);",timeoutPeriod); | |
//_gaq.push(['_trackEvent', 'img', 'delete', 'delete']); | |
} | |
window.onload = function() { | |
// Handler for .ready() called. | |
//_gaq.push(['_trackEvent', 'img', 'open', 'opened']); | |
timedRefresh(4000); | |
$('img').bind('contextmenu', function(e){ | |
$('img').remove(); | |
//$(document).remove(); | |
return false; | |
}); | |
}; | |
</script> | |
<!--<meta http-equiv="refresh" content="5"> | |
<meta http-equiv="refresh" content="10;URL=http://dl.dropbox.com/u/34671804/rpimag/index.html"> | |
<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>--> | |
</head> | |
<body oncontextmenu="return false;"> | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-87249989-1', 'auto'); | |
ga('send', 'pageview'); | |
</script> | |
<!-- | |
<script language="JavaScript"> | |
setInterval( "SANAjax();", 5000 ); ///////// 10 seconds | |
$(function() { | |
SANAjax = function(){ | |
$('#dataDisplay').prepend("Hi This is auto refresh example for you - w3cgallery.com <br><br>").fadeIn("slow"); | |
} | |
}); | |
</script> | |
--> | |
<div id="dataDisplay"><img src="image.png"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment