You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

spacerywirtualne

Professional

  • "spacerywirtualne" started this thread

Posts: 919

Location: Poland, Europe

Occupation: krpano developer : virtual tours

  • Send private message

1

Wednesday, January 30th 2019, 12:37pm

[SOLVED] New bg color in tour.js instead of black

Hello,

Where can I set my own color in tour.js instead of black *question* Is it even possible?

regards
Piotr

spacerywirtualne has attached the following image:
  • Zrzut ekranu 2019-01-30 10.31.02.png
Your own online, cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube

cms4vr team *thumbsup*

This post has been edited 1 times, last edit by "spacerywirtualne" (Feb 1st 2019, 2:56pm)


Tuur

Sage

Posts: 3,194

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Wednesday, January 30th 2019, 12:51pm

Hi,

Look for 000000 !
In the past i used it quite often.
Klaus advised not to change it there and find another way.
Like using a color with parent BGLAYER or so..
https://krpano.com/docu/xml/#layer.parent

Hope it helps.
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

3

Wednesday, January 30th 2019, 2:24pm

Hi,

yes - there is an API for that:
https://krpano.com/docu/html/#bgcolor

Best regards,
Klaus

spacerywirtualne

Professional

  • "spacerywirtualne" started this thread

Posts: 919

Location: Poland, Europe

Occupation: krpano developer : virtual tours

  • Send private message

4

Wednesday, January 30th 2019, 3:29pm

Thank you for the tips *squint*

Piotr
Your own online, cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube

cms4vr team *thumbsup*

Tuur

Sage

Posts: 3,194

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

5

Wednesday, January 30th 2019, 4:18pm

Ah yes,

In the past i didn’t manage to make that work though, but when i now look at it i did it wrong at the time.
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Similar threads