Hey. I have a code like:
$("#clickMe").click(
function(){
if (i == 1) {
i = i+1
$("#div p").css("left", "-" + width * i + "px");
}
});
As you can see -margin changes when somebody clicks a button. What if I want it to happen just on site load every 10 seconds?
Thanks.