January 6, 201016 yr Am I just completely retarded or is this bastard thing being an arse by refusing to work?? Everything is there and correct, I don't geddit!?! I've copied the fontcolour animation from http://desizntech.info/demo/jQuery_color_animation/ <head> <script type="text/javascript" src="Scripts/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="Scripts/jquery.color.js"></script> <script type="text/javascript"> // font color animation $(".menuani a").hover(function() { $(this).animate({ color: "#00eeff" }, 400); },function() { $(this).animate({ color: "#000000" }, 500); }); </script> </head> <body> <div id="menu" class="menuani"> <ul> <li><a href="#">Home</a></li> <li><a href="#">Swimming Pools & Spas</a></li> <li><a href="#">Services & Maintenance</a></li> <li><a href="#">Wellness</a></li> <li><a href="#">Contact Us</a></li> </ul> </div> </body>
January 6, 201016 yr You'll need to wrap your code inside the following function: $(document).ready(function(){ ...your code here });
January 6, 201016 yr Author *siiiigh*...thankyou ...damn you desizntech for making me wear the retard hat...
Create an account or sign in to comment