Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Donnerstag, 17. März 2011, 15:40

Using krpano within an html page, ie not as a full page

Hi

I've been using FPP where I can have pano's either full screen or I can embed into a page, such as this example

In fpp I can define the size of the flash window:

var so = new SWFObject("/tours/files/pano.swf", "pano12", "270", "210", "9", "#282828");

How do I do this with krpano?

Also is it possible to have multiple panos' running on a page, like this with krpano?

Thanks for help.



Tim

2

Donnerstag, 17. März 2011, 15:46

Just set container sizes
for axample <div id="krpanoDIV" style="width:200px; height:150px;"></div>
or directly in embed function
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

3

Donnerstag, 17. März 2011, 15:55

Check this page for examples of embedding.

http://krpano.com/docu/swfkrpanojs/

4

Donnerstag, 17. März 2011, 16:53

Also is it possible to have multiple panos' running on a page, like this with krpano?


yes that is possible, i have seen it done jsut have not myself.

5

Donnerstag, 17. März 2011, 22:33

Using krpano within an html page, ie not as a full page

Thanks for the comments, just embedded low res pano into a page.



I seem to remember someone suggesting that you need to use an iframe if you want to put multiple pano's into a page, I'll have a play and post results.



Tim

6

Donnerstag, 17. März 2011, 22:38

That statement was made by me, but I was wrong. I believe you just need to have two (or more )divs and the script to run it.



Jarred

7

Freitag, 18. März 2011, 20:36

If you will look in the viewer download package, you will find a good example.

It has two panoramas synced together with javascript but the basic setup for supporting more than one panorama on a page is there.


examples/javascript-interface/js-sync/syncscreen.html