Created
October 4, 2011 20:06
-
-
Save flagoworld/1262644 to your computer and use it in GitHub Desktop.
"move is not defined"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) | |
{ | |
$.fn.beefSlider=function() | |
{ | |
var el=this; | |
var move=true; | |
$(el).hover(function(){move=false;},function(){move=true;setTimeout('move()',10);}); | |
// ^^^^^ in here | |
setTimeout('move()',10) | |
function move() | |
{ | |
//etc etc | |
} | |
} | |
}) (jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment