Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type='text/javascript'>//<![CDATA[
- $(document).ready(function(){
- jQuery.fn.shake = function() {
- this.each(function(i) {
- $(this).css({ "position" : "absolute" });
- for (var x = 1; x <= 3; x++) {
- $(this).animate({ left: 43 }, 10).animate({ left: 23 }, 50).animate({ left:23},10).animate({ left: 13 }, 50).animate({ left: 43 }, 50).animate({ left: 33 },50).animate({ left: 43 }, 50);
- }
- });
- return this;
- }
- $("#logo").click(function() {
- $(this).shake();
- });
- $("#logo").click();
- });//]]>
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement