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.

martyhr

Intermediate

  • "martyhr" started this thread

Posts: 379

Location: CZ

  • Send private message

1

Thursday, February 2nd 2023, 3:56pm

bgcolor - where is my stupid error?

Hi,
I must do some stupid error but where??

I use area with borders for my pano and I want change bgcolor to light blue to the whole area.But the ligt blue is only under the pano.


<krpano version="1.20.11" title="Virtual Tour" bgcolor="0x1661bf">

<include url="skin/vtourskin.xml"........

Here is my attempt: https://www.virtualczech.cz/areabgcolor/

Marty

kme

Intermediate

Posts: 255

Location: Belgium

Occupation: Long time coder, product manager and 3D enthousiast

  • Send private message

2

Friday, February 3rd 2023, 11:53am

Try to in the include instead of the XML:

Source code

1
embedpano({xml:"tour.xml", bgcolor:"0x1661bf", target:"pano", html5:"only", mobilescale:1.0, passQueryParameters:"startscene,startlookat"});

Tuur

Sage

Posts: 3,769

Location: Netherlands

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

  • Send private message

panomaster

Intermediate

Posts: 296

Location: Kobyłka, Poland

Occupation: Virtual Tours - Spherical Panoramas - Krpano developer

  • Send private message

4

Friday, February 3rd 2023, 12:37pm

... bgcolor="#1661bf" ... (in embedpano)

martyhr

Intermediate

  • "martyhr" started this thread

Posts: 379

Location: CZ

  • Send private message

5

Friday, February 3rd 2023, 8:05pm

Guys, thanks to all. I will try.I let you know.
Marty