Beiträge von inlinear

    Ziel ist es den Viewer in eine HTML-Seite in einem div einzubinden, also erstmal nur als Teil der Seite. Bei Klick auf den Fullscreen-Btn, soll der Viewer auf iPhone & Co. eben das ganze Fenster ausfüllen. Ich finde leider kein Beispiel wo das richtig funktioniert.
    Kann mir da jemand helfen? Bei mir wird auf iPhone nicht die komplette Seite, sondern nur ein Ausschnitt angezeigt, der den Viewer wegen der Tags auf 100% iPhone display bringt. Und wenn ich diese Tag rausnehme geht der Fullscreen nicht richtig. Ein Beispiel zum abkucken wäre super!

    Vielen Dank im voraus *smile*


    Holger

    Can anybody help with an example workaround-code for the toggle HotSpots Function that only works for flash?

    I already read about giving plugins/hotspots an ID and then I may control all hotspots with the same ID at the same time.
    But how will some code look like for this?

    All non-programmers in the forum will be very happy *thumbsup*

    Thanks for any help!!!!!
    Holger


    here how my code looks right now:

    Code
    <plugin name="hotspots-off" devices="tablet"... onclick="hideHotSpots"/>


    So right now I must set each hotspot manually visible,false or true to make it work... It would be logical for me to give each hotSpot for example a tag="hs",
    so instead of adressing each single hotSpot I just make someting easy like this:

    Code
    <action name="hideHotSpots">set(hotspot[tag,hs].visible,false);</action>

    but this does not work *cry*</plugin>

    Hello all,

    I am trying to open a shadowbox that pops up above krpano. In the forum and outside I did not find any solution that really works.
    Actually I have it running 50%, means the shadowbox opens! but does not load: in my case a html page into it.

    The strange thing about is, that it works on iPad Safari? but not on PC browsers ...

    The code in the parent html file:

    Code
    function openShadowbox(url, player, title){    		Shadowbox.open({        		content:    url,       			player:     player,       			title:      title		    });}        
    	Shadowbox.init({
    		language:   "es",
    		players:    ['html', 'iframe']
    		});


    the code in my xml to call the shadowbox:

    Code
    onclick="js(openShadowbox('http://www.google.com', 'iframe', 'title'));"


    I also tried to change "iframe" to "html" or changed the doc type of the html document... nothing helps.

    The general Idea behind is that I want to open html info above the the pano. The textfield is too restricted for this. Also it should work on iOS as well... where also the shadowbox is bad as it does not support scrolling...
    So if anybody has any idea with showing some code will be very welcome *smile* .

    Thanks
    Holger

    Hi Falko,
    es soll wie im Flash-Viewer funktionieren aber eben im JavaScript-Viewer auf iPhone/iPad dirket aus dem Pano heraus aufgehen. Ich hätte da gerne dann einen Vorwärts- und einen Rückwärtspfeil zum "umblättern" und einen Exit-Button um das ganze dann wieder wegzuklicken. Im Moment kann man ich nur wie im Beispiel von Klaus ein einfaches Bild anzeigen, dass sich bei anklicken wieder schließt.

    Ich habe mir gestern eine HTML5-Video Gallery gebaut und da ich da auch nicht weiter wußte habe ich es mit einer shadowbox gemacht, was jetzt aber nicht ganz so elegant ist, da ich die auch nicht besonders gut mit vorärts und rückwärtspfeil austatten kann.

    Hast du eine Idee?

    Viele Grüße
    Holger

    Hallo Klaus,
    da kann ich spitzlbergerj nur beipflichten. Ein einfaches "loading panoengine" etc. über dem schwarzen Screen würde schon reichen *smile* . Wir hatten das bei unserem eigenen Viewer auch so gemacht. Wenn jemand aus Deutschland ein Pano in Brasilien abruft, sieht man nämlich den schwarzen Screen schonmal 10 Sekunden, bis der User merkt, dass was kommt.


    Viele Grüße
    Holger

    Ich möchte in einem Frame neben meinem Pano eine passende Beschreibung einblenden, doch kann ich einen frame-namen nicht ansteuern. Es scheint nur _blank, _self oder _top als target möglich. (https://krpano.com/docu/actions/#openurl)

    Auch würde ich gerne aus dem Frame weitere angerenzende Panos per link in meinem "pano-frame" laden. In den "examples" gibt es ein Beispiel in "javascript-interface" -js-loadpano, doch wird da ein Einzelpanorama geladen und ich würde gerne eine Szene ansteuern.

    Hat jemand dazu evtl. schon ein Beispiel oder Tipps wie man es umsetzen könnte?

    Viele Grüße
    Holger

    Hallo Markus & Michael,

    ja das Beispiel ist fürs erste als HotSpot-Ersatz sehr gut. Ich habs leider auch nur halb geschafft und bei mir kommt der Fehler "Error: no iphone/ipad version available" obwohl eigentlich alles am rechten Platz ist. Beim PC werden die Flashtiles jedenfalls geladen.
    Allerdings konnte ich es nur als iphone-Useragent auf dem Mac testen, da ich noch kein iphone habe, bzw. morgen mein erste iphone bekomme :)
    Die index.php hätte auch .html heißen können, da sie soweit ich das sehe kein php sondern nur javascript enthält.

    Hoffe Klaus richtet bald ein neues Unterthema im Forum für iphone-Fragen ein.

    Grüße
    Holger

    Hi,

    is there a way to combine a pantospot animation with setzoom?

    To setcenter and zoom works, but without animation:

    Code
    onclick="plugin[maps].setcenter(-22.938880911304267,-43.18306088447571,15)"


    and here it zoomes at once at the actual center of the map and does not pan...

    Code
    onclick="plugin[maps].pantospot(hs1); plugin[maps].setzoom(15); "




    best regards,
    Holger

    Hallo Klaus,

    du wirst schon ordentlich gelöchert wegen dem neuen PlugIn, denn es ist bemerkenswert dicker geworden seit der letzten Version. Ich kann mir vorstellen, dass die Dokumentation dafür noch noch nicht fertig ist und erst dann die neuen tollen Funktionen bekanntgegeben werden *wink* .

    Daher die Frage, wann dürfen sich PlugIn-Käufer den Quell-Code der neuen Version runterladen *w00t* .

    Viele Grüße
    Holger