Magento Forum - UK Magento Forum (Unofficial)

An unofficial but dedicated Magento Forum for Magento Users, Designers and Developers

Fly out Submenus not working

A forum for web designers working with the Magento system.

Fly out Submenus not working

Postby eddieb » Tue Aug 09, 2011 3:01 pm

could someone please point out what/where to check when the flyout submenus are not working? Magento 1.5.1.0

thanks in advance
Last edited by eddieb on Mon Aug 15, 2011 1:41 pm, edited 1 time in total.
eddieb
 
Posts: 7
Joined: Wed Jul 27, 2011 12:12 pm

Re: Fly out Submenus not working

Postby Dx3Webs » Sun Aug 14, 2011 11:40 pm

you have broken js

http://screencast.com/t/XFwXie3jcTcc


as a quick and dirty fix you can paste:


Code: Select all
function toggleMenu(el, over)
{
    if (over) {
        Element.addClassName(el, 'over');
    }
    else {
        Element.removeClassName(el, 'over');
    }
}


in at the start of js/varien/menu.js
Dx3webs
UK based Optimised Magento Managed Hosting : Full Managed service with Unlimited technical support
Contact Us | Dx3webs Magento Demo Store
User avatar
Dx3Webs
 
Posts: 305
Joined: Wed Jul 14, 2010 11:04 am
Location: Lincoln, UK

Re: Fly out Submenus not working

Postby eddieb » Mon Aug 15, 2011 1:41 pm

thanks! i actually had figured that out maybe 30 minutes before your post!
eddieb
 
Posts: 7
Joined: Wed Jul 27, 2011 12:12 pm


Return to Magento Designers

cron