Please help with this slider code

Please help with this slider code

I need to create a stop function. Can anyone help please?

$(function () {
var current = null;
$("#aOne").click(function () {
              trade($("#div1"));
             
});


$("#aTwo").click(function () {
              trade($("#div2"));
             
});
$("#aThree").click(function () {
              trade($("#div3"));
           
});