Every element on a web page has certain events which can trigger a JavaScript event. Events are defined in the HTML tags.
slideToggle() and animation()
$("#move").click(function(){
$("#driver").animate({left:"500px"},6000)
})
$("#driver").animate({left:"500px"},6000)
})
$(selector).slideToggle(duration,callback)