Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
User avatar
Niffo
 
Posts: 80
Joined: Sat Jun 16, 2018 10:30 pm

Ability to have a per application background

by Niffo Sat Nov 23, 2019 5:00 pm

Please add the ability to have a per application background (in place of the blue one)
useful
 
Posts: 36
Joined: Tue Feb 25, 2014 1:15 pm

Re: Ability to have a per application background

by useful Sun Nov 24, 2019 9:20 am

Replace
~\Libraries\javascript\media\background.png
with your own and enjoy.

For example, http://800strok.ru/lib/media/background.png

http://800strok.ru/index.html
2B or not 2B = FF
User avatar
Niffo
 
Posts: 80
Joined: Sat Jun 16, 2018 10:30 pm

Re: Ability to have a per application background

by Niffo Sun Nov 24, 2019 10:02 am

Yes, i know that, but you have to do that every time you want to compile a different app and on all platforms :-(
My wish was that the background could be located in the project.
User avatar
Peter
 
Posts: 749
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080

Re: Ability to have a per application background

by Peter Sun Nov 24, 2019 2:34 pm

Niffo wrote:Please add the ability to have a per application background (in place of the blue one)

+1

@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");

It's not perfect because you see the blue background image for a short moment, but better than nothing. ;)

Greetings ... Peter
User avatar
Niffo
 
Posts: 80
Joined: Sat Jun 16, 2018 10:30 pm

Re: Ability to have a per application background

by Niffo Sun Nov 24, 2019 3:15 pm

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");


Thank you for the tip Peter.
Peter wrote:It's not perfect because you see the blue background image for a short moment, but better than nothing. ;)
Greetings ... Peter

That's the problem :(
User avatar
Peter
 
Posts: 749
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080

Re: Ability to have a per application background

by Peter Sun Nov 24, 2019 4:13 pm

Niffo wrote:That's the problem :(

You could also use my HtmlPreprocessor (https://github.com/spiderbytes/HtmlPreprocessor)

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>


The blue background then does not appear at all.

Greetings ... Peter
Return to Feature Requests and Wishlists

Who is online

Users browsing this forum: No registered users and 4 guests