Love it! -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Sent: Friday, September 28, 2007 4:03 AM To: jQuery (English) Subject: [jQuery] Amazing new navigation technology!
Try dropping this amazing new script onto a page with hyperlinks, your users will never forget the experience. (requires jQuery 1.2) <script type="text/javascript" src="/js/jquery/jquery.js"></script> <script type="text/javascript"> $(document).ready (function () { var thisWidth = $(window).width (); var thisHeight = $(window).height (); $('a').mouseover (function () { var thisLink = $(this); thisLink.css ({position: 'absolute'}).animate ({ top : Math.round ((Math.random () * (thisHeight - thisLink.height ()))), left : Math.round ((Math.random () * (thisWidth - thisLink.width ()))) }, 'fast'); }); }); </script>