Window/Browser background color

Just starting out? Need help? Post your questions and find answers here.
TheMexican
Posts: 17
Joined: Sun Jun 07, 2015 5:58 pm

Window/Browser background color

Post by TheMexican »

How do you set the background color of a window? Just like Purebasic command SetWindowColor()?
How do you set the background color of the Browser window?

Any ideas anyone?

Thanks!!
User avatar
Peter
Posts: 1197
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Window/Browser background color

Post by Peter »

TheMexican wrote:How do you set the background color of the Browser window?
you can edit the background color of the body in "[SpiderBasicPath]\Libraries\JavaScript\windows-7\windows-7.css"

or you can change the color at runtime:

Code: Select all

! $("body").css("background", "white");
Greetings ... Peter
TheMexican
Posts: 17
Joined: Sun Jun 07, 2015 5:58 pm

Re: Window/Browser background color

Post by TheMexican »

How about the color of the Window?
User avatar
Peter
Posts: 1197
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Window/Browser background color

Post by Peter »

TheMexican wrote:How about the color of the Window?
-> windows-7.css -> spiderwindowcontent -> background-color

Greetings ... Peter
TheMexican
Posts: 17
Joined: Sun Jun 07, 2015 5:58 pm

Re: Window/Browser background color

Post by TheMexican »

Thanks Peter!! :P
Post Reply