Joomla 1.5 version with vm patch Div problem

Joomla 1.5 version with vm patch Div problem was created by almooj-craig

Posted 11 years 7 months ago #5430
Hello,

This is a nice menu system, especially with the vm patch. Some of the vm category levels are 3 or 4 levels deep. When I have the moo option enabled, and you mouseover a menu item, a new level slides out but there seems to be a left over div that covers the previous menu items so that you can not click on a lower item from the previous level. Do you have a suggestion about what to change in the js file to remedy that problem?

Thanks,
Craig

Please Log in or Create an account to join the conversation.

Replied by almooj-craig on topic Joomla 1.5 version with vm patch Div problem

Posted 11 years 7 months ago #5432
I found the problem. The ul element was being set with position: static. For some reason I think this caused the ul element to cover up a lower menu item so you could not click on it.

I just commented out the following line from the main js file and it now works as expected.

//el.conteneurul.setStyle('position','static');

Please Log in or Create an account to join the conversation.

Replied by almooj-craig on topic Joomla 1.5 version with vm patch Div problem

Posted 11 years 7 months ago #5505
Oops, although removing the position: static while in firebug worked correctly, removing the line that set the style in the js file kept the moo effects from working.

Basically it's the floatCK div that covers up prior elements and keeps you from being able to hover over the underlying links.

This method worked.

For the floatCK div use this css:
pointer-events:none;

Then on all of the links use this css:
pointer-events:auto;

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Joomla 1.5 version with vm patch Div problem

Posted 11 years 7 months ago #5506
Hi
thank you for sharing your solution
Ced

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by almooj-craig on topic Joomla 1.5 version with vm patch Div problem

Posted 11 years 7 months ago #5556
I also found that I needed to add
pointer-events: auto;
to the
<div class="maxidrop-main">

Please Log in or Create an account to join the conversation.

Replied by almooj-craig on topic Joomla 1.5 version with vm patch Div problem

Posted 11 years 7 months ago #5974
I found out later that Hostrocket was not running the maximenuH_CK.php file (500 error) because some of the directories were writable by the group. Once I changed the permissions the css file was loaded and the menu rendered correctly, so the additional pointer-events were no longer needed.

Please Log in or Create an account to join the conversation.

Time to create page: 0.679 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 815 guests and no members online