Disable touch move on whole body except menu scroll
€8-30 EUR
Finalizat
Data postării: aproape 5 ani în urmă
€8-30 EUR
Plata la predare
So I use this javascript to disable the touchmove on my whole site..... But I want when i open my menu, the menu to scroll.. Look at the code..... When menu-toggle is pressed (this is when I open the menu) i want to lock the body. But I want the menu to still scroll... The problem I have is that when I open the menu.... the body locks and the menu locks too because its a part of the body. I have tried disabling touchmove on the .site-main.... locks the body but then If I scroll the menu, it scrolls the body...... Can you help? Is there a way to disable touchmove on the body and scroll the menu without the body scrolling?
$(".menu-toggle").on('click', function(){
if(isTrue){
$('.body).bind('touchmove', function(e){[login to view URL]()});
isTrue=false;
}
else{
$('.body').unbind('touchmove');
isTrue=true;
}
});
});
Hello!
I am a web developer.(Javascript experet)
I have checked your project description.
I can help you
I guarantee the good result.
I will wait for your reply.
Thank you.
Hi,Thanks for giving me a chance.
I have read all your requirement and I wish to work for your project.
It is because I have many experiences of development of project similar to your project.
So if you hire me, you will have good results.
I promise you high quality work ,complete attention and proper communication.
Thanks for your time.
Regards.
Hello my name is Igor and I am a Web developer with more than 9 years of experience in development and I can help you achieve the desired effect and disable/enable the scroll ability of the whole page when the user clicks on the main menu.
If you need a serious developer make sure to contact me.
hello,
I am a senior web and software developer.
if you will give me your access and your code i will do that & try to resolve your issue as soon as possible.
when i have resolved that then you can pay me.
I hope you will understand my concern.
Thanks Regards,
Amarjeet Singh.