Marton 48 Posted October 21, 2013 Report Share Posted October 21, 2013 Thank you again for all your hard work, Darryl! I've tested the hidden fields in multiple tabs, they look great & work perfectly now! I have an interesting question, though this might be something that only interests me. I've created a simple example project to demonstrate my problem. My example project contains a Button that has one hidden TextBox. There is another button, with also a hidden TextBox (attached pictures). I've tried modifying the generated code to make this possible: 1. I want the second button to only appear after expanding the first button (so clicking the first button would not only show the first textbox, but also the second button)2. After that, clicking the second button would make the second textbox appear. I don't know if all that is clear, but in a way I'm talking about multi-tier hidden fields. Now I've tried moving things around in the code to make this happen, but it didn't work. For someone with a little bit better html&javascript knowledge this should be easy (I'm actually honing my html&javascript skills atm, but I'm not quite there yet). Can anyone help me out with this?I think this is the part where things need to be changed: <html lang="en"><head> <style type="text/css"> hidden2641{display:none} </style> <style type="text/css"> hidden9934{display:none} </style> . . . //skipped these lines, didn't want to attach too much code here . . . <style> #containment-wrapper \{ width: 100%; height:200px; background-color: CCCCCC; padding: 0px; \} </style> </head> <body style=\"margin-left: 0px; margin-right: 0px; margin-top: 0px; cursor: auto; \"> <div id=\"containment-wrapper\"> <div id=\"colorbutton1\" style=\"margin-left: 1px; width: 50px; height: 20px; position: absolute; left: 14px; top: 16px; \" > <button class=\"button1\" id=\"show2641\" style=\"height: px; width: px; font-family: ; font-size: ;\" onclick=\"ubot.runScript(\'FirstCommand()\')\"><label variable=\"#showhide1\">More1</label></button> </div><div id=\"textbox1\" style=\"margin-left: 1px; width: 200px; height: 20px; position: absolute; left: 192px; top: 16px; \" > <hidden2641> <label>Box1</label> <input class=\"textbox\" id=\"VnLtvX\" variable=\"#TextBox1\" fillwith=\"value\" type=\"text\" value=\"\" placeholder=\"\" style=\" width: px;\"> </hidden2641> </div><div id=\"colorbutton2\" style=\"margin-left: 1px; width: 50px; height: 20px; position: absolute; left: 13px; top: 90px; \" > <button class=\"button1\" id=\"show9934\" style=\"height: px; width: px; font-family: ; font-size: ;\" onclick=\"ubot.runScript(\'SecondCommand()\')\"><label variable=\"#showhide2\">More2</label></button> </div><div id=\"textbox2\" style=\"margin-left: 1px; width: 200px; height: 20px; position: absolute; left: 189px; top: 89px; \" > <hidden9934> <label>Box2</label> <input class=\"textbox\" id=\"1MMzCX\" variable=\"#TextBox2\" fillwith=\"value\" type=\"text\" value=\"\" placeholder=\"\" style=\" width: px;\"> </hidden9934> </div> </div></body> <script type=\'text/javascript\' charset=\'utf-8\'> {#jsmin} </script> <script type=\'text/javascript\' charset=\'utf-8\'> {#jsdd} </script> <script type=\'text/javascript\' charset=\'utf-8\'> {#jsosfile} </script> <script> $(document).ready(function()\{ $(\"#show2641\").click(function()\{ $(\"hidden2641\").toggle(); \}); \}); </script> <script> $(document).ready(function()\{ $(\"#show9934\").click(function()\{ $(\"hidden9934\").toggle(); \}); \}); </script> </html> Thank you for any help,Marton Quote Link to post Share on other sites
darryl561 177 Posted October 21, 2013 Author Report Share Posted October 21, 2013 Hi Marton, yeah that can definitly be done. For "nested" hidden fields you will have to manually make the changes to the code though, but it's pretty easy. I think it will be a lot easier to make a screencast though and show you what you will need to do rather than try to explain it here. I will send you a demo bot and link to screencast as soon as I get it done. Cheers. 1 Quote Link to post Share on other sites
Marton 48 Posted October 21, 2013 Report Share Posted October 21, 2013 Wow! Thank you Darryl! Changing the code manually is perfect for me, thanks in advance for the screencast! Quote Link to post Share on other sites
marcosolidbr 0 Posted November 6, 2013 Report Share Posted November 6, 2013 (edited) Hello ! Just bought it and didnt recieved the license , I was wondering if you could send me again , My email is marcosolidbr@hotmail.com . Thanks Edited November 6, 2013 by marcosolidbr Quote Link to post Share on other sites
darryl561 177 Posted November 7, 2013 Author Report Share Posted November 7, 2013 Hi marcosolidbr, I have sent you the license details. I see it says you have the standard version of uBot, sending PM. Cheers. Quote Link to post Share on other sites
darryl561 177 Posted November 18, 2013 Author Report Share Posted November 18, 2013 Daryll, Would this be useful for Ubot Standard users or not ?The main discussion is here:http://www.ubotstudio.com/forum/index.php?/topic/15395-anyone-have-a-good-idea-on-how-to-handle-this/ Hi uniquebot, I assume you mean the dropdowns I referred to in that thread. Unfortunately the method I will be using won't work with the standard version of uBot. Darryl. Quote Link to post Share on other sites
darryl561 177 Posted November 20, 2013 Author Report Share Posted November 20, 2013 New update, feature added. I have added the first of two types of dynamic dropdowns to the builder. With the one that I have just added you can add up to 4 dropdowns in a "group". Dropdown two's options will change depending on what is selected in dropdown one, dropdown 3's option will change depending on what is selected in dropdown 2 etc. I have had to use a different style of dropdown for the dynamic dropdowns, so you will have to create a new theme/s for them to work. Unfortunately they will not work with previously created themes. You can also add a normal dropdown using this new style if you want. I will be adding the second type of dynamic dropdown soon which will be able to be populated from scraped data or from a saved file. CheersDarryl. 2 Quote Link to post Share on other sites
darryl561 177 Posted November 23, 2013 Author Report Share Posted November 23, 2013 New update. I have added the second type of dynamic dropdown as I mentioned in the post above which will enable you to populate dropdowns from scraped data or from a saved file. CheersDarryl. 1 Quote Link to post Share on other sites
Sanjeev 46 Posted November 25, 2013 Report Share Posted November 25, 2013 Hi Daryl, I seem to be doing something wrong while creating the type01 dynamic drop down.. please see the bot attached.. it's not populating the drop down as it should..? 1.In the UI Builder Pro - I created a single type01 dynamic drop down - and named it - #dyndrop012. I then copied and pasted the code into codeview of Ubot studio, saved the bot to disk re-opened the bot3. Created and set a variable named - #dyndrop01 content - to a comma separated list of text which I scraped from a webpage.4.pressed the run button - but didn't see the drop down updating - I then saved and reopened the bot, ran the bot again - got the same result.....?I guess I didn't understand what needs to be done , correctly...Please help.dynadrop01.ubot Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted November 25, 2013 Report Share Posted November 25, 2013 Wow Darryl!! This is amazing update bro!! Thank you soooo much! Quote Link to post Share on other sites
darryl561 177 Posted November 26, 2013 Author Report Share Posted November 26, 2013 Hi Daryl, I seem to be doing something wrong while creating the type01 dynamic drop down.. please see the bot attached.. it's not populating the drop down as it should..? 1.In the UI Builder Pro - I created a single type01 dynamic drop down - and named it - #dyndrop012. I then copied and pasted the code into codeview of Ubot studio, saved the bot to disk re-opened the bot3. Created and set a variable named - #dyndrop01 content - to a comma separated list of text which I scraped from a webpage.4.pressed the run button - but didn't see the drop down updating - I then saved and reopened the bot, ran the bot again - got the same result.....?I guess I didn't understand what needs to be done , correctly...Please help. Hi Sanjeev, I ran the bot you attached and it worked perfectly the first time, but then had problems when I tried running it again. I changed your wait 1sec command with a wait for everything loaded command and had no problems after that. Here's a bot with the changed wait command: dynadrop01.ubot Wow Darryl!! This is amazing update bro!! Thank you soooo much! No worries TC, glad you like it. CheersDarryl. Quote Link to post Share on other sites
Sanjeev 46 Posted November 26, 2013 Report Share Posted November 26, 2013 Darryl? I just downloaded and ran the bot you have attached in the post above.. It didn't work on my side..? - see the - screencast .I am running v 4.2.19 .. could that be the issue? Thanks Quote Link to post Share on other sites
darryl561 177 Posted November 26, 2013 Author Report Share Posted November 26, 2013 That's weird, it's still working perfectly for me: see screencast I have version 4.2.20 of uBot, but don't know if that would make any difference or not. If the version is not the problem it's got me stumped to be honest coz as you can see in the screencast it's working perfectly for me. Quote Link to post Share on other sites
Sirfrank 17 Posted November 26, 2013 Report Share Posted November 26, 2013 is that possible to insert images in PRO version in Costume code section like with this codesnipet:<img style="width:190;height:153px;margin-top:-20px;" alt="" src="http://www.jofogas.hu/pg/0o/y495Wkj/xWYkuAgk/+Znq94NTlnW+wizChrw==.gif?1" /> ? If yes, grabbing it right now Quote Link to post Share on other sites
darryl561 177 Posted November 26, 2013 Author Report Share Posted November 26, 2013 Hi Sirfrank, yes you can definitely do that. CheersDarryl. Quote Link to post Share on other sites
Sanjeev 46 Posted November 26, 2013 Report Share Posted November 26, 2013 Darryl? The update to 4.2.20 - did the trick! The dropdown now works.Thanks for your support. Quote Link to post Share on other sites
Sanjeev 46 Posted November 26, 2013 Report Share Posted November 26, 2013 Darryl? I find that if I change the dynamic drop down's option, and then update the drop down variable again -subsequently the dropdown does not appear to update..? http://www.screencast.com/t/hkzs4dSTWI Quote Link to post Share on other sites
darryl561 177 Posted November 27, 2013 Author Report Share Posted November 27, 2013 Darryl? I find that if I change the dynamic drop down's option, and then update the drop down variable again -subsequently the dropdown does not appear to update..? http://www.screencast.com/t/hkzs4dSTWI Hi Sanjeev, this is a bit weird. In the screencast I made you can see that sometimes it does update, but not always. See Screencast I think it must be a problem with uBot. If it was the code causing the problem I am sure it would either work every time or none of the time.Might have to check with uBot support about that one. Darryl. Quote Link to post Share on other sites
Sanjeev 46 Posted November 28, 2013 Report Share Posted November 28, 2013 Hi Darryl, How can I create an interface for the UI HTML Window using your tool?I tried copying and pasting the 'UI html panel' code into the 'Ui html window' , as you can see from the screen cast - it appears to work..But as I didn't find any info about this, on the forum or in your tutorials, I just wanted to know if this is the right way to do it? Thanks.ui html window.ubot Quote Link to post Share on other sites
darryl561 177 Posted November 28, 2013 Author Report Share Posted November 28, 2013 Hi Sanjeev, yeah the only thing if you copy and paste you will have to replace all the instances of: ___NODEVIEWCOPY___28___NODEVIEWCOPY___ with the correct variable. This is how I would do it(I think it's probably easier) see screencast CheersDarryl. Quote Link to post Share on other sites
Sanjeev 46 Posted November 28, 2013 Report Share Posted November 28, 2013 Thanks Darryl. Quote Link to post Share on other sites
kev123 132 Posted December 3, 2013 Report Share Posted December 3, 2013 is there a way to make drop downs visible/non visible Quote Link to post Share on other sites
darryl561 177 Posted December 3, 2013 Author Report Share Posted December 3, 2013 Hi Kev, possibly soon, but not at the moment with the builder. Will PM you for more details and I think I should be able to help you out now though. Also while I'm here there is something I am pretty excited about and want to let you guys know about it as well. You may have seen Edward's CSS Themes, if not I'd encourage you to check them out: http://www.ubotstudio.com/forum/index.php?/topic/15477-sell-ubot-css-themes-instantly-style-your-bots-stanprodev/they are amazing. Edward's css and design skills are awesome, and he is creating themes that can be used in UI Builder Pro. And believe it or not you will be able to make your ui's look even better than the examples on his thread. When finished these themes can be added to the builders theme folder, and to use them all you will have to do is select the one you want to use, exactly as you do to select a theme that you have created. Edward has raised the bar here as far as amazing looking ui's go, and when finished, using these themes combined with the ui builder, it is soon going to be possible for anyone to take their ui's to a whole new level with ease. CheersDarryl. 1 Quote Link to post Share on other sites
darryl561 177 Posted December 5, 2013 Author Report Share Posted December 5, 2013 Just want to let everyone know that Edward has released the first of his awesome "made for UI Builder Pro" themes, and they are available to "plugin" to the builder right now. The css styling used for these themes, right down to the finest detail, is second to none. Right down to the scroll bars and progress bar. And Edward has also included graphics with the themes, that can easily be added with the builder to compliment them perfectly. If you want to take your UI's to a new level with this kind of css styling you have 3 options: 1) an advanced knowledge and skill in css(even then it would still be a difficult and time consuming task)2) pay some-one to do it(could get very expensive)3) use Edward's themes in combination with UI Builder Pro(very quick and easy and in-expensive considering you can use them over and over) You can check them out here: http://www.ubotstudio.com/forum/index.php?/topic/15543-sell-drag-and-drop-ui-builders-beautiful-new-custom-themes/ I am sure that Edward would be happy to receive any suggestions/requests regarding styles, colors etc. that you would like to see in a theme. Cheers. 1 Quote Link to post Share on other sites
Edward_2 85 Posted December 5, 2013 Report Share Posted December 5, 2013 Thanks man. Worked hard on them. They have some awesome effects. 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.