Magento top menu dropdown is not working in homepage - magento

Top menu dropdown is not working only in homepage. It's working fine in innerpages. I'm having a banner slider extension and custom jquery slider in my homepage i thought the issue is with jquery conflict.
Did anyone overcome these kind of problem before? Please share your comments to solve this problem.
Thanks,

Use jQuery.noConflict() in your jQuery file, to avoid conflict with prototype library
See this link

Related

How would I move from the default ASP.NET layout to another theme

I just started to use MVC for a simple website. Very new to this.
I am trying to change from the default layout to a simple layout page with sidebar navigation with drop-down list capability. Something similar to one that is shown in the enter link description here
Could you please guide me through this? I have downloaded the HTML, CSS and js files.
I added them to the project and referred to them in the bundleconfig.cs. But still no success.
Thank you very much

Joomla/Virtuemart scripts not working on the product detail view

I have a Joomla 2.5.20 site with VirtueMart 2.6.4. I'm creating a template that among other things uses jQuery and Bootstrap. While the site works well in general, including VM's cart, I'm facing problems with the product detail view: no script from VirtueMart seems to be working: if I click on a thumbnail image, it won't change the main image. If I click on the main image, it will open in a new window instead of opening with Fancybox. The rating control won't allow me to select a star to rate the product.
I've been searching all over and every answer I've come up with say it's a jQuery conflict. While jQuery (v. 1.8.0) is there, I don't see where the conflict could possibly be.
The site is:
http://www.dailymood.com.mx
The URL to a sample where it's not working:
http://www.dailymood.com.mx/catalog/mood/20014moodbarbcrh-detail
Any help will be really appreciated. Thanks in advance!

How to solve a duplicate div issue while using ajax and pushstate in Wordpress?

I have an isue with implementing an ajax in Wordpress site. I found a function on
http://www.franckmaurin.com/how-to-use-html5-history-with-wordpress-jquery/
and I tried to implement it in my Wordpress theme. I changed #main from a source code to .container_right, to adjust function for use in my theme. I almost succeeded, but when I click on any link in menu .container_right fades out, then fades in, as stated in function, but also is being duplicated. You can check that on
www.trzywu.pl/trzywu
when clicking through menu links.
PS. It also breaks all existing jQuery plugins on the site.
Nevermind, I found my own solution. I wrapped .container_right with a .container_right_wrapper and changed .container_right in function to .container_right_wrapper, then I added some css and everything seem to be working.

Removing magento cms page layout update from mobile theme

I'm using cms HomePage in magento to show my block.
It reuqires some <action>, so I'm adding it on layout update tab. It works fine, but...
This layout update is applied on mobile theme too, what is wrong behaviour. How can i prevent it?
Thanks for any advice.
There is no simple solution... What you want from action? Maybe there is another way for that ;)

Magento : Add to Cart function not working on Product details page

I am facing a strange problem and have no idea how to fix this since i am new to magento. The Add-to-cart button is not working on the product details page here
http://www.eyaas.com/products/home/decor/thai-benjarong/benjarong-dainty-cats.html
But it's working on the category page here
http://www.eyaas.com/products/home/decor/thai-benjarong.html
Why can this be happening. I have given the links above so that you can see the button code and tell me if somethings getting wrong.
EDIT
I removed the declaration for jquery library and my navigation file. Then the add to cart button started working. What i need to know is why does thing works well in localhost. Same files, same library and same code, but they just seem to encounter a conflict on server. Please suggest something
I can't see that you've added the jquery library in your code - the error seems to say jQuery is undefined - I think either remove all jquery or add the library should solve it
jQuery is added after your calling scripts.
Make sure you add your jQuery to the page BEFORE any other script that relies on it.
The reason for all this was the conflict between the jquery and prototoype.js library. I solved the same by using jQuery.noConflict() function and then replacing all the $ references in my javascript code with the jQuery
Just disable the js files added in page.xml and head.phtml added for that particular theme.
things will work :-)

Resources