Kunena Menu
Alternative to X for closing mobile menu?
10 years 4 months ago #36046
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Alternative to X for closing mobile menu?
for the touch issue, have you tested only with safari or also with another browser ?
on my Samsung S6 it works too
on my Samsung S6 it works too
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
10 years 4 months ago #36051
by mberman14
Replied by mberman14 on topic Alternative to X for closing mobile menu?
Good to hear that it's working on Samsung, though of course I need it to work in iPhone too. Here's what I've discovered so far. It works:
So, it seems that where it does not work is in text -- the text of the main article body, breadcrumbs, and footer. Don't know if that helps, but that's what I've got so far.
Thanks,
Matt
- on very short pages where I can tap below the footer.
- on pages that have a picture that does not expand, when I tap the picture
- on pages that have a picture that DOES expand, but only when I tap to reduce the picture after expanding it
- on pages that have a slideshow (CK, of course!) when I tap the slideshow
So, it seems that where it does not work is in text -- the text of the main article body, breadcrumbs, and footer. Don't know if that helps, but that's what I've got so far.
Thanks,
Matt
Please Log in or Create an account to join the conversation.
10 years 4 months ago #36060
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Alternative to X for closing mobile menu?
I have tested, it works now by my side
please try again (download the file again) and tell me
please try again (download the file again) and tell me
Joomlack Webmaster and Developer
The following user(s) said Thank You: mberman14
Please Log in or Create an account to join the conversation.
10 years 4 months ago #36061
by mberman14
Replied by mberman14 on topic Alternative to X for closing mobile menu?
That did it! Thanks so much, CEd -- you're brilliant.
Now I just have to figure out how to gray out the background.
Plus, now he's thinking maybe he'd like it to slide down from the top, but keep the page still underneath, and still show the top bar fixed to the top.
Anyway, thanks again!
-Matt
Now I just have to figure out how to gray out the background.
Plus, now he's thinking maybe he'd like it to slide down from the top, but keep the page still underneath, and still show the top bar fixed to the top.
Anyway, thanks again!
-Matt
Please Log in or Create an account to join the conversation.
10 years 4 months ago - 10 years 4 months ago #36063
by ced1870
)
now what "he" is asking is a custom development. I will not spend my time to make what one person want. The plugin works like this for now
if "he" needs a custom quote, then give him my email
Joomlack Webmaster and Developer
Replied by ced1870 on topic Alternative to X for closing mobile menu?
Thank you, thank you ! (applauseCEd -- you're brilliant.
)now what "he" is asking is a custom development. I will not spend my time to make what one person want. The plugin works like this for now
if "he" needs a custom quote, then give him my email
Joomlack Webmaster and Developer
Last edit: 10 years 4 months ago by ced1870.
Please Log in or Create an account to join the conversation.
10 years 4 months ago #36094
by mberman14
Replied by mberman14 on topic Alternative to X for closing mobile menu?
Dear CEd,
Thanks so much for all of your work on this. I've got it all working now.
Just to wrap it up:
Hope that helps someone else. Thanks again,
Matt
Thanks so much for all of your work on this. I've got it all working now.
Just to wrap it up:
- Your revision got the touch outside the menu to close working.
- To stop the background page from sliding, comment out the .animate
Code:case 'slideleft': mobilemenu.css('display', 'block').css('opacity', '0').css('width', '0').animate({'opacity': '1', 'width': '300px'}); $('body').css('position', 'relative'); // took background slide left animation out to stop the background page from sliding (mb).animate({'left': '300px'}); break;
- To gray out the background, add
to the $('body') lineCode:.css('background', '#888888')
- To get the background back to normal color when the menu closes, add this to the closeMenu Function, $('body') line
Code:.css('background', '#ffffff') //or whatever your background color should be
Hope that helps someone else. Thanks again,
Matt
Please Log in or Create an account to join the conversation.
Time to create page: 0.210 seconds



