Open GoogleCodeExporter opened 8 years ago
A buddy of mine sorted this for me:
It was as simple as I thought, just needed to change:
$('.switcher' + panel).click(function() {
to
$('.switcher' + panel).mouseover(function() {
in the called js file.
Original comment by ner...@gmail.com
on 18 Nov 2011 at 3:39
nero21 is correct there, except you have to be careful with using the native
mouseover function, its prone to event queuing. It doesnt compensate for when
people accidently roll their mouse over.
You should use hoverIntent instead, which is a simple replacement for mouseover
or hover()
See it here: http://plugins.jquery.com/project/hoverIntent
Original comment by cheyne.w...@gmail.com
on 18 Nov 2011 at 4:44
[deleted comment]
I love your Plugin. Thanks so much for taking the time to create it.
My client asked to use the mouseover instead of click so I've heeded the
information above and went the .mouseover direction. For some reason,
.hoverIntent isn't working for me. All's good though. I'm happy.
My problem is I would love for the image to go back to default after user is no
longer mousing over.
Any suggestions would be most appreciated.
Thanks,
John
Original comment by CrabbyMa...@gmail.com
on 17 Jul 2013 at 7:51
Original issue reported on code.google.com by
ner...@gmail.com
on 18 Nov 2011 at 10:50