> I have used your great plugin for a menu in Wordpress 2.8.4 and I
> wanted to use the default Wordpress jQuery library jquery.js?ver=1.3.2
> but your pluginSuperfishwouldn't work. I added the
> jquery-1.2.6.min.js file and it did work OK. Since there is no reason
> to have calls to two jQuery libraries which are doing the same thing I
> wanted to only use the default Wordpress jQuery version. After some
> searching I found an answer at this site:http://jquery-howto.blogspot.com/2009/07/jquerynoconflict-resolving-c....
>
> The offending code was here: $(document).ready(function(){
>
> I changed this to: jQuery(document).ready(function($){
>
> Notice the $ function being moved.
This tip is a lifesaver if you're trying to use superfish for a
vertical menu in WordPress. I wrestled with all the submenus
activating simultaneously (overlapping) when any part of the menu was
moused over, and this was the problem. Changing the syntax to jQuery
(from $) fixed the issue.
J.D.
No comments:
Post a Comment