Try the Demo

Magento Forum

   
Menu Not Showing After adding another Jquery Script
 
mackSmith
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2011-02-11
india
 

hello, I want to know why the menu isnot showing wen i use another jquery ? i mean whenever i use another script in the page it runs jquery but menu dropdown doesnt work. please help .

 Signature 

Website Design Company

 
Magento Community Magento Community
Magento Community
Magento Community
 
kdtips
Member
 
Avatar
Total Posts:  73
Joined:  2011-08-13
Auckland New Zealand
 

try to add this line…

jQuery.noConflict();

If that doesnt work then try ...

$.noConflict();

 Signature 

KD Tips
Follow Me on Twitter
Keep Smiling....

 
Magento Community Magento Community
Magento Community
Magento Community
 
MagePsycho
Moderator
 
Avatar
Total Posts:  1670
Joined:  2009-06-23
 

Try the following xml update:

<reference name="head">
    <
block type="core/text" name="google.cdn.jquery">
        <
action method="setText">
            <
text><![CDATA[<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
            
<script type="text/javascript">jQuery.noConflict();</script>]]>
            </
text>
        </
action>
    </
block>
</
reference>

Thanks

 Signature 

MagePsycho - Magento Freelancer
Free Modules: jQuery LightBoxes | Frontend Links Manager & more…
Commercial Modules: jQuery Sliders Pro | Custom Login Redirect Pro | Store Restrction Pro & more...

Follow me on Twitter @ magepsycho

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top