This is great Jeremy. For Progressive Web apps that use a tiddlywiki, this 
is a little redundant because a splash screen is already defined in the 
manifest file, otherwise this will be super useful for other cases.

On Thursday, September 27, 2018 at 12:22:43 PM UTC+3, Jeremy Ruston wrote:
>
> I’ve added core support for splash screens here:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/cfb2d7c9c8d899729b67864070d1958b35cc0ca2
> (And fixing a typo: 
> https://github.com/Jermolene/TiddlyWiki5/commit/86f2de0ddaacc999e875121d9a941ef214ea0436
> )
>
> You can see an example splash screen on the prerelease:
>
> *https://tiddlywiki.com/prerelease/#Creating%20a%20splash%20screen 
> <https://tiddlywiki.com/prerelease/#Creating%20a%20splash%20screen>*
>
> The example splash screen demonstrates using CSS animations and images.
>
> Best wishes
>
> Jeremy.
>
> On 1 Sep 2018, at 10:50, bimlas <[email protected] <javascript:>> wrote:
>
> I just merged the SplashScreen and the removing of it in to one tiddler:
>
> <script>
> // Remove splash screen when Tiddly is loaded (doesn't work in older IEs)
> document.addEventListener('DOMContentLoaded', function(){ 
>   document.body.style.backgroundImage = 'none';
> }, false);
> </script>
>
>
> <style>
> body {
>   height: 80vh;
>   background-position: center center;
>   background-repeat: no-repeat;
>   background-image: url("data:image/gif;base64,IMAGE_DATA...");
> </style>
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/670611e7-e618-4940-ac5b-f1a543cd8e06%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/670611e7-e618-4940-ac5b-f1a543cd8e06%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8d5a4f27-eb68-4b78-93c8-50788b171d75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to