Ability to have a per application background
Posted: Sat Nov 23, 2019 5:00 pm
Please add the ability to have a per application background (in place of the blue one)
- a basic to master the web -
https://forums.spiderbasic.com/
+1Niffo wrote:Please add the ability to have a per application background (in place of the blue one)
Code: Select all
! $('html').css("background","url('http://getwallpapers.com/wallpaper/full/a/6/c/186396.jpg') no-repeat center center fixed");
Thank you for the tip Peter.Peter wrote: @Niffo: In the meantime you can use something like this:Code: Select all
! $('html').css("background","url('http://getwallpapers.com/wallpaper/full/a/6/c/186396.jpg') no-repeat center center fixed");
That's the problemPeter wrote:It's not perfect because you see the blue background image for a short moment, but better than nothing.
Greetings ... Peter
You could also use my HtmlPreprocessor (https://github.com/spiderbytes/HtmlPreprocessor)Niffo wrote:That's the problem
Code: Select all
;! <HtmlPreprocessor>
;! [
;! {
;! "search": "<script type=\"text/javascript\" src=\"spiderbasic.js\"></script>",
;! "replace": "<style>html { background: url('http://getwallpapers.com/wallpaper/full/a/6/c/186396.jpg') no-repeat center center fixed; } </style>\n<script type=\"text/javascript\" src=\"spiderbasic.js\"></script>"
;! }
;! ]
;! </HtmlPreprocessor>