Hello.
Can anyone help me set the visibility of the photo for 5 seconds?
I have this code:
var currentGame = $prop('DataCorePlugin.CurrentGame');
var Status = '--';
var driver = drivername(1); //starting leaderboard position
var Image = 'None';if (driver == $prop('GarySwallowDataPlugin.Opponent00Name')){Status = '<>';Image = 'None'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent01Name')){Status = '1';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent02Name')){Status = '2';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent03Name')){Status = '3';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent04Name')){Status = '4';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent05Name')){Status = '5';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent06Name')){Status = '6';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent07Name')){Status = '7';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent08Name')){Status = '8';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent09Name')){Status = '9';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent10Name')){Status = '10';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent11Name')){Status = '11';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent12Name')){Status = '12';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent13Name')){Status = '13';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent14Name')){Status = '14';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent15Name')){Status = '15';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent16Name')){Status = '16';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent17Name')){Status = '17';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent18Name')){Status = '18';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent19Name')){Status = '19';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent20Name')){Status = '20';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent21Name')){Status = '21';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent22Name')){Status = '22';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent23Name')){Status = '23';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent24Name')){Status = '24';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent25Name')){Status = '25';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent26Name')){Status = '26';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent27Name')){Status = '27';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent28Name')){Status = '28';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent29Name')){Status = '29';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent30Name')){Status = '30';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent31Name')){Status = '31';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent32Name')){Status = '32';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent33Name')){Status = '33';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent34Name')){Status = '34';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent35Name')){Status = '35';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent36Name')){Status = '36';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent37Name')){Status = '37';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent38Name')){Status = '38';Image = 'GreenUp'}
else if (driver == $prop('GarySwallowDataPlugin.Opponent39Name')){Status = '39';Image = 'GreenUp'}//return PlayerChange;
//return PlayerPos;
//return True;
//return PlayerStartPos;
//return driver;
//return Position20Move;
return Image;
//return Status;
How can you set the photo to be visible for 5 seconds?
<span style="font-size: 10pt; font-family: Arsenal,Arial; font-weight: normal; font-style: normal;" data-sheets-root="1" data-sheets-value="{"1":2,"2":"Photography is constantly evolving. And now there are many different ideas and ways to create interesting images. If you are interested in this topic, I advise you to read removed link and learn more about smoke bomb photography. I think this will help attract new customers even more."}" data-sheets-userformat="{"2":6657,"3":{"1":0},"12":0,"14":{"1":2,"2":0},"15":"Arsenal"}">Photography is constantly evolving. And now there are many different ideas and ways to create interesting images. If you are interested in this topic, I advise you to read and learn more about smoke bomb photography. I think this will help attract new customers even more.