The GK Dropline Menu is not collapsing.

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Tue May 22, 2012 2:12 pm
Hi,

I have a strange problem. I have enabled the GK Dropline menu on my site that is running the latest version of Virtuemart, Joomla and the template. I used the quick start package available from your website.

I have changed the template to use the GK Dropline menu. When I mouse over I get the menu correctly, however, mousing away does not see the menu collapse again??

Am I missing something?

My site can be seen here http://www.cosmediaviviane.com/dev2/

Any help or advice on fixing this would be most appreciated.

Kind regards,

Richard
User avatar
Fresh Boarder

teitbite
Wed May 23, 2012 6:58 am
Hi

Acctualy it was designed to act like that.

I'll ask programmers how to change that.
User avatar
Moderator

teitbite
Wed May 23, 2012 10:31 am
Hi

Here is a response from programmers:

In the menu.gkdropline.js file you have to change lines:

Code: Select all
submenus.each(function(el, i) {
    if(el.hasClass('active')) currentsub = submenus[i];
});


to:

Code: Select all
submenus.each(function(el, i) {
    if(el.hasClass('active')) currentsub = submenus[i];

    el.addEvent('mouseleave', function() {
        el.setStyle('left', '-999em');
    });
});


but it will work fine only when the submenu is big - at least 100% width, because the user must to hover the submenu and then leave it ;)

User avatar
Moderator

GK User
Thu May 24, 2012 4:52 am
Hi teitbite,

Thank you for your prompt response. I will try it out and let you know if I have any problems.

Kind regards,

Richard
User avatar
Fresh Boarder

teitbite
Thu May 24, 2012 8:47 am
Hi

Ok. I'll be waiting.
User avatar
Moderator


cron