Yo people,
is it possible to put instead of a color as a background .. a picture as a background?
And if yes , how to code it in the index.html?
Or will that be to 'heavy''?
Thanx
Tuur
Yo people,
is it possible to put instead of a color as a background .. a picture as a background?
And if yes , how to code it in the index.html?
Or will that be to 'heavy''?
Thanx
Tuur
Tuur,
I spent some time last night trying to find a way to use an image as the background with a swf.addparam and could not find a way. I can only change the background color. If you find a way post here !
So we did the same ...
i will, but i think the one with the right answere will post it for us.
Cheers
Tuur
Hi Tuur and VN2009,
Add a background-image to the <div id="krpanoDIV" >
<style>
body{ font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#FFFFFF; background-color:#000000; margin:0; padding:0; }
* html, * html body{ overflow: hidden; }
a{ color:#AAAAAA; text-decoration:underline; }
a:hover{ color:#FFFFFF; text-decoration:underline; }
div#krpanoDIV { background-image:url(Your_background_image.jpg); }
</style>
note line 6...
Also, don't forget to set the wmode to transparent
var swf = createswf("krpano.swf", "krpanoSWFObject", "100%", "100%");
swf.addVariable("xml", "krpano.xml");
swf.addParam("wmode","transparent");
swf.embed("krpanoDIV");
SAlut.
OT
When I grow up , I want to be able to code or program like Klaus, Michel and Pinsane. I hope I don't offend anyone by not listing them here but the abilities and knowledge these three guys have just seem outstanding to me.
Thanks for all you do.
Jarred
works, Michel you rock!
Michel,
i told you.... Master !!
Thanx for this great help again...
---
mmmm... i can't get it... i think my index file is not good or a mess...
what is the best index html to use ? Can anybody provide?
Cheers
Tuur
Oke got it...
made a copy of the index from VN... sorry VN..
and changed parameters..
GREAT!!
Now we can do a nice wooden background or so
btw. can that also be an small swf?
Thanx all!
Cheers
Tuur
oke , swf .. i say no .. to slow..
with a pic you have to watch the size because it's getting slower..
Are there rules for that?
Great stuff !!
Cheers
Tuur
Wow, that's nice with the background pics
but it's not there when fullscreen... can i fix that?
Thanx
Tuur
One more question...
so that makes two..
1. background picture when fullscreen ..how to, if possible?
2. is it possible to let the background change during the tour?
maybe by an javacall in an action or so??
Thanx
tuur
Don’t have an account yet? Register yourself now and be a part of our community!