Jump to content

Show roulette from start and not just when start spin


Robban

Recommended Posts

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

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.