October 7, 200917 yr To use this piece of code in wordpress, I need to make it compatible with the latest Jquery library, 1.3.2. However, the current code isnt, and that presents the problem for me. With no real knowledge of javascript, I understand none of whats going wrong. Does anyone have time to lend a hand updating this code to work with Jquery 1.3.2? <script type="text/javascript" charset="utf-8"> //<![CDATA[ $(document).ready(function() { function addMega(){ $(this).addClass("hovering"); } function removeMega(){ $(this).removeClass("hovering"); } var megaConfig = { interval: 100, sensitivity: 10, over: addMega, timeout: 100, out: removeMega }; $("li.mega").hoverIntent(megaConfig) }); //]]> </script> This script is used in conjunction with Jquery, and http://ava-game.com/wp-content/themes/avagame/jquery.hoverIntent.minified.js which I've checked with the authors site to find out that it is compatible, so it in theory should be the first piece of code thats the problem.
October 8, 200917 yr Author Help! xD I've emailed the original creator of the code, but she hasnt replied, and it was a while ago she wrote it. Can anyone see whats not compatible with the latest library?
October 9, 200917 yr Author Well does anyone know of any similar code that works with the latest library? This is killing me =(
Create an account or sign in to comment