Ron Posted August 17, 2015 Posted August 17, 2015 Hello, here is another desktop example using more javascript, and the idea was to get some transparency in the taskbar. I borrowed the code for the menu, from the other desktop sample in this forum. Best viewed in full HD, full screen (F11). Updated: some JS correction, added analog clock as part of datetime dialog etc. The code for autostart of browser is in the servermodule, triggered at onCreate. For those who cannot download here, I've uploaded it to http://cashlessnews.com/webdesktop.zip webdesktop.zip 3 Quote
AlbertoVesx Posted August 17, 2015 Posted August 17, 2015 Hi, very nice example. Thank you. Can you tell me, how did you automatically execute the webbrowser when you execute run(F9)? Quote
Andrey Volkov Posted February 6, 2016 Posted February 6, 2016 Sorry, you don't have permission for that! Quote
mhmda Posted February 7, 2016 Posted February 7, 2016 Sorry, you don't have permission for that! Quote
Sherzod Posted February 7, 2016 Posted February 7, 2016 Hi Mohammad Please, visit here: http://forums.unigui.com/index.php?/topic/6291-important-announcement/&do=findComment&comment=32086 Best regards. Quote
gustotc Posted February 17, 2016 Posted February 17, 2016 friend, great job .... Now I have a question, if you can help me .... When I create a new option menu only (start) it did not include the low bar, as could do this to be equal to those created in javascript in html? Thank you.. Quote
Ron Posted February 20, 2016 Author Posted February 20, 2016 +gustotc I am not sure what you are trying to do, please explain. For those who cannot download here, I've uploaded it to http://cashlessnews.com/webdesktop.zip Quote
gustotc Posted February 22, 2016 Posted February 22, 2016 Delphidude, Thank you for return, excuse my English, I will try to explain below: In your example this fixed 3 buttons on the toolbar, but need to add new buttons in start menu, my question is how to bring up the toolbar buttons that were not fixed it (new forms for example). -> how to dynamically add javascript in new non-fixed calls Quote
Ron Posted March 10, 2016 Author Posted March 10, 2016 The main form loads the deskscript.html file on load, and it is in this file that you manipulate the desktop apparance, including the icons, in javascript. Study that file. You can just add some javascript which defines another icon, to this file, and reload it. First of course store the icon, so you can reference it. You could have a bunch of icons already stored which the user may choose from. Then push the chosen icon into the icons array, with the correct x position. To get that x pos, read the last icon in the array, since the xpos is not a global var. You can just create an addIcon function, to do this job...and then run this function through an AddJS call, referencing the icon you want. Quote
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.