Jump to content

[SOLVED] Mouseover response on categroy is very slow


Recommended Posts

Hi,

 

I am new to PS.

 

I have tried something and made the left category block as mouseover option.

 

But its taking some time to response for mouseover.

 

I am using default theme in PS1.5.4

 

Take a look at my my test site.

http://www.colorconceptions.com/index.php

 

Please help me on this.

 

Thanks in advance.

Hi,

I have added 'fast' in the slideup() and show() function in the treeManagement.js file.

Now mouseover is somewhat fast.

 

is this right approach or anyother way is there?

Please correct me.

 

Thanks in advance. 

Edited by manirathnam1988 (see edit history)
Link to comment
Share on other sites

i suppose that it's an error from browser console.

anyway, i checked your page and .... for me everything works... just normal, 

submenu appears right after mouse over on parent

Ok.. Thanks Vekia... 

 

I have modified the code in the treeManagement.js file to make the mouseover response time fast.

 

function openBranch(jQueryElement, noAnimation) {
jQueryElement.addClass('OPEN').removeClass('CLOSE');
if(noAnimation)
jQueryElement.parent().find('ul:first').show('fast');
else
jQueryElement.parent().find('ul:first').slideDown('fast');
}
 
Added 'fast' in show and slideDown. 
 

is this the right approach? will this change affect any other feature.?

Please confirm.

 

Once again Thanks vekia.

Link to comment
Share on other sites

  • 6 months later...

no, it's related only to menus

will work everything fine, no worries

for me it was not solution, but I´ve found .....themes\my-theme\js\modules\blocktopmenu\js\hoverIntent.js

and I´ve modified

// default configuration values
        var cfg = {
            interval: 100,
            sensitivity: 7,
            timeout: 0
        };

to

// default configuration values
        var cfg = {
            interval: 1,
            sensitivity: 1,
            timeout: 0
        };

for quick response on hover

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

I janoo, I used your method and it partially works.

If you hover between category that has subcategory the effect is fast, but when i pass from a main category with subcategory to one that doesn't have subcategory, i see the slow hover effect like before.

 

You can see what i mean in the signature website, try pass the mouse from "casa e ufficio" or "giochi" to gadget.

Link to comment
Share on other sites

×
×
  • Create New...