Bot UI - Create a Conditional Button ?

  • Автор темы Автор темы valteau
  • Дата начала Дата начала

valteau

Client
Регистрация
06.07.2018
Сообщения
133
Реакции
3
Баллы
18
@VladZen - I would like to display a Green button on Bot UI ONLY WHEN the robot has been launched and has obtained a success.
How can I do this on Bot UI or Input Setting ? It not matters. Thanks
 

Вложения

  • BotUI.PNG
    BotUI.PNG
    98,2 KB · Просмотры: 375
Unfortunately, there is no conditional button in BotUI.
If you know JavaScript you may play UserControl element and make it visible with some condition using JS.
But it requires some programming knowledge.
 
Is it like this we put variable {-Variable.Success-} in javascript from zennoposter ? Thanks for your help @VladZen
Код:
Развернуть Свернуть Копировать
<html><body>
<style>
.hidden
{
display:none;
}
</style>



<script type="text/jascript">

function showhide()
{
var button = document.getElementByClassName("hidden");
var Success == true;
    if ({-Variable.Success-} == false) {
    hiddenbutton.style.display = "block";
    }
    else{
    hiddenbutton.style.display = "none";
    }
}
</script>







<a href="https://www.freecodecamp.org/"><button class="hidden">Obtenir la Version Complète </button></a>

</body></html>
 
Последнее редактирование:

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)