Kunena Menu
Closing when Menu behavior: On click
- Montimontt
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 0
14 years 1 month ago - 14 years 1 month ago #5898
by Montimontt
Replied by Montimontt on topic Re: Closing when Menu behavior: On click
Sorry, but I don't know how to do that..
I would be very happy if you could have a look again. The FTP-account I sent you (25.09.2012, 23:40) is still working.
If you want to delete
.item655 > a, .item573 > a, .item610 > a, .item622 > a{pointer-events:none;cursor:pointer !important}
you find it in
/joomla1/templates/rt_halcyon/css
line 164
Thank you!!!!
I would be very happy if you could have a look again. The FTP-account I sent you (25.09.2012, 23:40) is still working.
If you want to delete
.item655 > a, .item573 > a, .item610 > a, .item622 > a{pointer-events:none;cursor:pointer !important}
you find it in
/joomla1/templates/rt_halcyon/css
line 164
Thank you!!!!
Last edit: 14 years 1 month ago by Montimontt.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #5899
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: Closing when Menu behavior: On click
my bad I was a bit tired, forget this
what you must do:
- try with the template beez_20
- deactive JCH optimize and all cache
I dont't know why it is not working, as already said it was working after the script hack, then no more. You website has a problem and you must find it by deactivating one by one all plugins/extensions that can cause this conflict. You can see that the menu works well on ipad on joomlack.fr, and I have tested it on several other websites.
what you must do:
- try with the template beez_20
- deactive JCH optimize and all cache
I dont't know why it is not working, as already said it was working after the script hack, then no more. You website has a problem and you must find it by deactivating one by one all plugins/extensions that can cause this conflict. You can see that the menu works well on ipad on joomlack.fr, and I have tested it on several other websites.
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- Montimontt
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 0
14 years 1 month ago #5900
by Montimontt
Replied by Montimontt on topic Re: Closing when Menu behavior: On click
Thank you! I will try to get an iPad the other days and test as much as I can. Then I will give you another feedback.
Regards,
Montimontt
Regards,
Montimontt
Please Log in or Create an account to join the conversation.
- almooj-craig
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 2
14 years 1 month ago - 14 years 1 month ago #5975
by almooj-craig
Replied by almooj-craig on topic Closing when Menu behavior: On click
I was testing this on the IPod touch and the menu would not close when clicking outside, but it worked correctly in a browser when using the "click" setting. I had a feeling that it was not getting the click event.
The above code works if you click on a link but not in the body. Here is a page that talks about the iPhone IPod problem:
www.quirksmode.org/blog/archives/2010/09/click_event_del.html
I believe if you just change the code so that it attaches the click event to your templates main div, it should work correctly.
Code:
if (ismobile) {
$(document.body).addEvent('click',function(e) {
if(element && !e.target || !$(e.target).getParents().contains(element)) {
el.hasBeenClicked = false;
el.hideMaxiCK();
}
});
}
The above code works if you click on a link but not in the body. Here is a page that talks about the iPhone IPod problem:
www.quirksmode.org/blog/archives/2010/09/click_event_del.html
I believe if you just change the code so that it attaches the click event to your templates main div, it should work correctly.
Last edit: 14 years 1 month ago by almooj-craig.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #5979
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Closing when Menu behavior: On click
thank you for sharing, I will see
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- Montimontt
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 0
14 years 1 month ago - 14 years 1 month ago #6015
by Montimontt
Replied by Montimontt on topic Closing when Menu behavior: On click
Sorry, I didn't get it.
1. I have an iPad now and tested jommlack.fr: klicking outside of the menu to close it does not work with safari.
2. If you klick on the main menu-link zu close it (now the only way it works), the side of the corresponding menu-link loads. That is not the effect wanted.
I don't want the main-menu-link (first level) to load anything, but only to open (or close) the menu. So I took the css-code: pointer-events:none.
Using this code I think iPad isn't working. Ok. I don't know another way to solve this problem.
But I think the problem desciribed above is very significant.
Thanks!!!!
PS: I have a new URL: www.medero.de
1. I have an iPad now and tested jommlack.fr: klicking outside of the menu to close it does not work with safari.
2. If you klick on the main menu-link zu close it (now the only way it works), the side of the corresponding menu-link loads. That is not the effect wanted.
I don't want the main-menu-link (first level) to load anything, but only to open (or close) the menu. So I took the css-code: pointer-events:none.
Using this code I think iPad isn't working. Ok. I don't know another way to solve this problem.
But I think the problem desciribed above is very significant.
Thanks!!!!
PS: I have a new URL: www.medero.de
Last edit: 14 years 1 month ago by Montimontt.
Please Log in or Create an account to join the conversation.
Time to create page: 0.218 seconds



