I've just about finished this snippet, and I'd like someone to complete it.
The snippet activates a popup modal after 3000ms after the mouse has left the viewport. That part works great.
The problem is, I'd like the timer/delay of 3000ms to be reset if the user mouse re-enters the viewport (mouseenter). At that point, I do not want the popup to be activated.
To recap: The user's mouse leaves the viewport, start the timer for 3000ms to activate the popup (this part is finished already), if the user's mouse re-enters the viewport before 3000ms, reset the timer back to 0 and don't show the popup. Only if the user's mouse leaves the viewport for 3000ms or longer will the popup be shown.
Here is the jQuery snippet: [login to view URL]
Thank you for your time and attention.
- Shawn
Dear Sir,
I am really interested to work on this project . I have very good experience of doing this sort of job, actually i love these sort of jobs.
I am waiting here to discuss about your project , please come on chat.
Regards,
Hi,
I am confident to deliver to your expectation, if given a chance.
Kindly have a look into my profile, check out my completion rate(100%), and what other clients say about me in reviews. If it interests you, let's discuss more of the project.
Thanks and Cheers.
Hello.
I am a developer with experience in using HTML, PHP, CSS, JQuery, etc.
I can help you to complete this JQuery mouseleave event.
So, could we discuss it now? Thank you
Hello, to solve your problem, I think you need to assign a variable to setTimeout and then call clearTimeout with the variable as parameter to reset the timer. If it still cannot solve your problem, I can help you.
hello sir, Your job attracted my attention because it is compatible with my freelancing interests and experience. i have 5 year experience + in wordpress and i developed many project that are based on php.
Technical Skills
- 7+ years of experience in web development
- Web Front End experience (HTML, CSS & JavaScript)
- Backend knowledge and skill set (PHP & MySQL)
- CMS knowledge (Wordpress, API, Themes & Plugins)
- Linux (Basic shell scripting)
Hello sir/madam,
we have read and understand your requirement and very much confident that we can complete this project within low budget and less time . Give us chance to serve you better
Looking forward to be hired by you soon.
Regards,
Softtechsurat
Hello,
I am Akil Khatri i am really interested to work on this project, I can start the work now , and can provide the best services from my end.
Please come on chat to discuss more about the project.
Regards,
Akil Khatri