have you tried the splash screen with Firefox? I don't see one using
Firefox 1.5.0.4, with IE it looks nice.
Udo
Hi Saq,
have you tried the splash screen with Firefox? I don't see one using
Firefox 1.5.0.4, with IE it looks nice.
- Instead of your special code in config.macros.view.handler I suggest a little change: Let the SplashScreen tiddler be a normal tiddler (with Wiki syntax) that defines the content of the splash screen. This way also people not knowing HTML style may modify their splash screen. The appearance of the splash screen box (size, position etc.) is defined separately. To make this practical here is what you may do:
- Put your current "SplashScreen" div text into a new (shadowTiddler) "SplashScreenBox", add "<html>...</html>" around it, but remove the div's content ("<b>TiddlyWiki</b> is loading..." etc). The content will later be filled.
- In your "SplashScreen" div put the content in Wiki syntax. E.g.: ''TiddlyWiki'' is loading... etc.
- When updating the SplashScreen div in the MarkupPreHead tiddler the text you insert is created like this:
- Wikify the tiddler "SplashScreenBox" and remember the element in boxElem.
- Wikify the tiddler "SplashScreen" and append the element as a child to boxElem.
- Use "boxElem.innerHTML" to extract the content in HTML format, to be put into the SPLASH-SCREEN of the MarkupPreHead tiddler.
- Define the shadowTiddlers "SplashScreen" and "SplashScreenBox" in the plugin.