Robban Posted November 4, 2015 Share Posted November 4, 2015 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 Quote Link to comment https://forums.phpfreaks.com/topic/299117-show-roulette-from-start-and-not-just-when-start-spin/ Share on other sites More sharing options...
Barand Posted November 4, 2015 Share Posted November 4, 2015 Moving to AJAX forum Quote Link to comment https://forums.phpfreaks.com/topic/299117-show-roulette-from-start-and-not-just-when-start-spin/#findComment-1525443 Share on other sites More sharing options...
Robban Posted November 4, 2015 Author Share Posted November 4, 2015 Okey. Thanks barand. The text was in PHP file thats why I thaught it was also PHP. sry for that Quote Link to comment https://forums.phpfreaks.com/topic/299117-show-roulette-from-start-and-not-just-when-start-spin/#findComment-1525459 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.