spa3212 1 Posted February 24, 2020 Report Share Posted February 24, 2020 HI, I searched all the thread but could not find a solution to my problem. I have a list that have some html codes like<input type="checkbox" variable="#myvar0" fillwith="checked"><img src="https://cdn.pixabay.com/photo/2019/09/19/20/24/city-4490237__340.jpg"height="150" width="150"> <input type="checkbox" variable="#myvar0" fillwith="checked"><img src="https://cdn.pixabay.com/photo/2020/01/13/19/27/victor-emmanuel-ii-monument-4763299__340.jpg" height="150" width="150"> I want to show these list items in html panel, with check box. and the list get changed in next run. will pick some other images, but this don't change in html panel. is there any word around for this. Many Thanks in advance. I tried http://network.ubotstudio.com/forum/index.php/topic/22101-ui-html-panel-change-text/?hl=ui+panel but no luck. code I have set(#news,%newurls,"Global") on load("Bot Loaded") { set(#news,1,"Global") } ui html panel("<!DOCTYPE html> <html> <head> <body> <span variable=\"#news\"></span> </body> </html>",200) set(#news,%newurls,"Global") my html panel code looks like this <!DOCTYPE html> <html> <head> <body> <span variable="#news"></span> </body> </html> Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted February 24, 2020 Report Share Posted February 24, 2020 You need something like this set(#options,"test,test2,test3,test4,test5","Global") ui html panel("<!doctype html> <html> <head> <meta charset=\"utf-8\"> <title>Untitled Document</title> </head> <body> <select variable=\"#selectedList\" list=\"#options\" list-fillwith=\"options\" name=\"dropdown\" style=\"width:\"> </select> </body> </html> ",200) Quote Link to post Share on other sites
spa3212 1 Posted February 25, 2020 Author Report Share Posted February 25, 2020 (edited) this did not work. I want to show the changes to be shown as soon the list items changed.There is no drop-down requirements. Just want to show the images which are in the list.I hope someone can surely have the answer. Edited February 25, 2020 by spa3212 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted March 3, 2020 Report Share Posted March 3, 2020 If you have Elite Ubot Plugin then you can update the html panel using this command: EB Change UI HTML Panel Quote Link to post Share on other sites
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.