Reputation: 125
I am customizing magneto theme i was working on list.phtml file to show all products from specific categories on home page i did by including online jquery file at beginning of list.phtml file but home page sub categories are not showing on hover effect might me conflict with another js.. if i remove script from list.phtml file then sub categories are shown on hover effect but animation effect goes out. and if i remove script from list.phtml then sub categories shown on mouse hover effect but animation not.. i downloaded js file but don't know where to put this file in folder structure so my animation effect and hover effect both works fine.
Upvotes: 0
Views: 72
Reputation: 9055
<?xml version="1.0"?>
<layout version="0.1.0">
<default>
<reference name="head">
<action method="addJs"><script>jquery.js</script></action>
<action method="addJs"><script>jquery-no-conflict.js</script></action>
</reference>
</default>
</layout>
.
Upvotes: 0
Reputation: 9055
Include it in page.xml after prototype. Also you need to include jQuery.noConflict() to avoid conflicts of jquery and prototype
Upvotes: 1