Closing when Menu behavior: On click

Replied by ced1870 on topic Closing when Menu behavior: On click

Posted 11 years 7 months ago #6035

Maybe there is a way for iPad to set like "iPad: click on the main-menu-link: open/(close), no other action", almooj-craig?

this is how it was working before ! click => open, re-click => close
I will come back to this solution because I'm tired with all these problems in ipad.

Joomlack Webmaster and Developer

by ced1870

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

Replied by Montimontt on topic Closing when Menu behavior: On click

Posted 11 years 7 months ago #6091
I know I shouldn't bother you any more, but I have a last question/request:

Is it possible (and if, how does it work), ONLY FOR IPAD: to disable the menu to open on click?
click => not open menu, but load link

Thanks!
Montimontt

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

Replied by Montimontt on topic Closing when Menu behavior: On click

Posted 11 years 7 months ago #6146
I tried the following with code I found (google :) ) in moomaximenuck.js, but it is not working:

(you would do me a big favour if you could help me this last time...)
Code:
function checkBrowserName(name){ var agent = navigator.userAgent.toLowerCase(); if (agent.indexOf(name.toLowerCase())>-1) { return true; } return false; } if(checkBrowserName('iPad')){ alert(''); } else{ alert(' el.addEvent('mouseover',function() { if (testoverflow == '1') this.testOverflowMaxiCK(menuID); el.setStyle('z-index',15000); this.showMaxiCK(dureein); }); el.addEvent('mouseleave',function() { el.setStyle('z-index',12001); this.hideMaxiCK(dureeout); }); '); }

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

Replied by ced1870 on topic Closing when Menu behavior: On click

Posted 11 years 7 months ago #6154
look in your js file I have added a test mobile function : isMobile
comment this line :
Code:
navigator.userAgent.match(/iPad/i) ||
and use the style onmouseover for your menu
Ced

Joomlack Webmaster and Developer

by ced1870

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

Replied by Montimontt on topic Closing when Menu behavior: On click

Posted 11 years 7 months ago #6157
I am sorry, but I do not understand what you did? :huh:

Witch js file? comment?

By the way I am using style onmouseover..

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

Replied by ced1870 on topic Closing when Menu behavior: On click

Posted 11 years 7 months ago #6158
the file moomaximenuck.js file in the assets folder

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.681 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 810 guests and no members online