Page 1 of 1

Screensaver added, help needed with styling issues

Posted: Tuesday 08 November 2016 19:24
by stlaha2007
Hi there,

I've implemented a screensaver see attachments, which starts after 1 minute and respond to touch/mouse click or move/key and disappears.

Just a plain black screen and starts. Because an older Androidtablet had some issues with CSS3 stuff, so found this little javascript which does what i want.

However, when running i have issues with the default Dashboard or other pages from Domoticz. It only covers the main part of the screen, still showing the menu.
Implemented in G3rards Frontpage.html it works covering the whole screen, however it disappears when not touched, apperently because of the refresh data.

Is there someone who wants to replicate this and can advice how to overcome this?

To replicate:
- place attached files into a directory
- add <script type="text/javascript" src="JSGraphics.js"> and <script type="text/javascript" src="JSG_Stars_Screens.js> between the <head> and </head>
- add onload="initScreenSaver();" to the <body> like <body onload="initScreenSaver();">


Thanks,
Stephan