Find Jobs
Hire Freelancers

Mouseenter/mouseleave issue

$10-30 USD

Completed
Posted over 7 years ago

$10-30 USD

Paid on delivery
The following script pauses the slide when hovered, but does not continue when unhovered. I need it to go to the next slide when the user is finished reading a slide and moves his/her mouse off of the current slide. What I've tried is shown and I also tried mouseover. Using bootstrap framework. HTML Code: <div class="wrapper"> <ul class="slide"> <li>jQuery</li> <li>jQuery plugins</li> <li>Best, cool, free jQuery plugins download Best, cool, free jQuery plugins download Best, cool, free jQuery plugins download Best, cool, free jQuery plugins download Best, cool, free jQuery plugins download Best, cool, free jQuery plugins download</li> <li>[login to view URL]</li> </ul> </div> SCRIPT <script> (function (e) { [login to view URL] = function (t) { var n = { speed: 200, effect: "fade", dir: "ltr", font_size: null, color: null, font_family: null, delay_after: 3e3 }; [login to view URL](n, t); var r = e(this); var i = [login to view URL](); [login to view URL](":first").hide(); [login to view URL]("direction", [login to view URL]); [login to view URL]("font-size", t.font_size); [login to view URL]("color", [login to view URL]); [login to view URL]("font-family", t.font_family); timer = setInterval(function () { var e = [login to view URL](); [login to view URL](":first").hide(); var n = [login to view URL](0); var i = [login to view URL](1); if ([login to view URL] == "slide") { [login to view URL](); [login to view URL](function () { [login to view URL]().appendTo(r) }) } if ([login to view URL] == "fade") { [login to view URL](function () { [login to view URL](); [login to view URL]().appendTo(r) }) } }, [login to view URL]); if ([login to view URL] == "typing") { var s = 0; var o = 0; var u = t.delay_after / [login to view URL]; var a = (new Array(1 + u)).join(" "); var f = new Array; [login to view URL](function () { [login to view URL](e(this).text() + a) }); count = [login to view URL]; timer = setInterval(function () { result = f[o].substring(0, s); e(r).html(result); s++; if (s == f[o].length) { s = 0; [login to view URL](r).hide().fadeIn("slow"); o++; if (count == o) { o = 0 } } }, [login to view URL]) } } })(jQuery) $('.slide').inewsticker({ speed: 2500, effect: 'slide', dir: 'ltr', font_size: 18, color: '#fff', font_family: 'arial', delay_after: 1000 }); $('.slide').on('mouseenter', function() { clearInterval(timer); }); $('.slide').on('mouseleave', function() { setInterval(timer); }); </script> Also, the fade and typing effects aren't necessary, but when I try to remove them the script breaks. So the least amount of script would be best.
Project ID: 12240401

About the project

7 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
A proposal has not yet been provided
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
7 freelancers are bidding on average $22 USD for this job
User Avatar
A proposal has not yet been provided
$35 USD in 1 day
5.0 (6 reviews)
2.9
2.9
User Avatar
Hello,Client Nice to meet you. I have good bootsrap,wordpress,PHP,css,html,jquery,shopify, etc. I will start your job immediately. I have many experience in this job. If u check me,I will finish your job excellently. please contact me.
$25 USD in 1 day
5.0 (1 review)
1.8
1.8
User Avatar
lets do it
$12 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Little Rock, United States
5.0
8
Payment method verified
Member since Nov 29, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.