Hello. Im trying to learn more by eediting an jackpot website. It works like this. When two people have joined he countdown begins from 80 secs to zero. When on zero this roulette shows with pictures of the participants. I dont even know if I found the correct code to edit for this but I think so. :S This is the code I found in webroot/js/main.php.
function showwinnerroulette(){
console.log('showwinnerroulette() called.');
$.ajax({
type: "GET",
dataType: "html",
url: "alertopt.php",
success: function(msg){
$("#alert").html(msg);
console.log('showwinnerroulette() SUCCESS! updating #alert...');
}
});
}
I have actually no idie how to show this roulette from start and when more and more players join it will just be more pics and when down to zero it starts spinning.
Best regards, Robban