Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type='text/javascript'>
- $(function(){
- $('html').append('<img id="halo" title="Happy Noel" style="cursor:pointer;position:fixed;z-index:99999" height="120" src="http://lh6.ggpht.com/--821TuXi7o0/UMN0DyDHwtI/AAAAAAAAFL8/V3nQtexRIIk/ghost_thumb.gif"/>')
- setInterval(function(){
- var $X=Math.ceil(Math.random()*$(window).width())
- var $Y=Math.ceil(Math.random()*$(window).height())
- $('img#halo').animate({'left':$X,'top':$Y},5000)
- },5000)
- $('img#halo').click(function(){
- window.open('http://lh6.ggpht.com/--821TuXi7o0/UMN0DyDHwtI/AAAAAAAAFL8/V3nQtexRIIk/ghost_thumb.gif','')
- })
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement