Skip to content

Instantly share code, notes, and snippets.

@flagoworld
Created October 4, 2011 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flagoworld/1262644 to your computer and use it in GitHub Desktop.
Save flagoworld/1262644 to your computer and use it in GitHub Desktop.
"move is not defined"
(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