Screensaver added, help needed with styling issues

Moderator: leecollings

Post Reply
stlaha2007
Posts: 370
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

Screensaver added, help needed with styling issues

Post 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
Attachments
JSG_js_Screensaver.zip
(3.24 KiB) Downloaded 92 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest