Ron Posted August 17, 2015 Share 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 Link to comment Share on other sites More sharing options...
epos4u Posted August 17, 2015 Share Posted August 17, 2015 thank you Link to comment Share on other sites More sharing options...
liangyang Posted August 17, 2015 Share Posted August 17, 2015 Wonderful.thank you Link to comment Share on other sites More sharing options...
molla2005b Posted August 17, 2015 Share Posted August 17, 2015 very nice Link to comment Share on other sites More sharing options...
albertovesx Posted August 17, 2015 Share 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)? Link to comment Share on other sites More sharing options...
stiaan Posted September 7, 2015 Share Posted September 7, 2015 Very nice! Thanks a mil! Link to comment Share on other sites More sharing options...
gpaulino Posted February 4, 2016 Share Posted February 4, 2016 NO TENGO PERMISO PARA PODER DESCARLO Link to comment Share on other sites More sharing options...
billyChou Posted February 6, 2016 Share Posted February 6, 2016 Thanks Link to comment Share on other sites More sharing options...
Andrey Volkov Posted February 6, 2016 Share Posted February 6, 2016 Sorry, you don't have permission for that! Link to comment Share on other sites More sharing options...
mhmda Posted February 7, 2016 Share Posted February 7, 2016 Sorry, you don't have permission for that! Link to comment Share on other sites More sharing options...
Sherzod Posted February 7, 2016 Share 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. Link to comment Share on other sites More sharing options...
gustotc Posted February 17, 2016 Share 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.. Link to comment Share on other sites More sharing options...
Ron Posted February 20, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
gustotc Posted February 22, 2016 Share 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 Link to comment Share on other sites More sharing options...
Ron Posted March 10, 2016 Author Share 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. Link to comment Share on other sites More sharing options...
Georges Soares Posted September 3, 2016 Share Posted September 3, 2016 yes, thanks, very good Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now