Sie sind nicht angemeldet.

1

Montag, 25. Juni 2012, 13:10

<a href="event: not working on iPad ?

It would seem that the <a href="event is not working on the ipad. I found another reference in the forum, but no solution was delivered.

My objective is to be able to link to a scene from within the textfield using the very familiar html anchor and standard blue link text, but alas, safari states "cannot open the page because the address is invalid"

Quellcode

1
2
3
4
5
6
7
8
9
10
	<action name="box6">
					loadscene(scene_Benjasiri_Park_2, null, MERGE, BLEND(1));
					plugin[panoBox].selectitem(Benjasiri Park);									
        </action>  
....
<data name="text_benjasiri">
....
<a href="event:set(view.fovmin,10);  _window_hide(win1);  looktohotspot(benjasiri, 10, smooth(100,50,50));  box6(); ">View Park</a>
</data>
....

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Montag, 25. Juni 2012, 16:04

Must be an old krpano version. Event is just recently supported in js.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Montag, 25. Juni 2012, 17:05

Version

Must be an old krpano version. Event is just recently supported in js.


Am using the latest Beta version applied to 10814 3/16. Do you have a working reference model that works on the iPad?

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Montag, 25. Juni 2012, 17:24

I see.
Klaus is parsing the event to translate into javascript calls.
You have more than one, so the logic probably isn't there for more than one. If you put all of them into a krpano single function, it would probably work. If it still doesn't work, you should post a link.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

5

Dienstag, 26. Juni 2012, 08:57

Hi,

the multiple actions should be no problem and when the viewer is at least version 1.0.8.14 build 2012-03-16 this should normally work...

if not, yes - please post a link?

best regards,
Klaus

6

Donnerstag, 26. Juli 2012, 19:56

I had the same problem, so I updated now to the latest version, but still without success. Inside the data field my link is as follows:

Quellcode

1
2
3
			<a href="event:loadscene(scene_rooms-1810, NULL, MERGE);set(plugin[txt_infopane].html,data:txt_room1810);">
			   	Room 1810
			</a><br/>	


Is event:loadscene not supported?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mstoss« (27. Juli 2012, 10:42)


7

Samstag, 28. Juli 2012, 09:04

Hi,

can you please show a link to the example?
Is event:loadscene not supported?
Yes, any action code should work there.

Best regards,
Klaus

8

Freitag, 3. August 2012, 02:10

solved

Hello Klaus,

thank you for answering and sorry for not replying as soon as I saw your info. When I learned, that the code SHOULD work, I suspected some weird coding as the reason. Anyway, I was more busy with figuring out, how to deal with text and sizes more than with the link. Today I checked this issue again and it is as easy as this:

Quellcode

1
2
3
4
5
6
7
8
9
			... 
         	<a href="event:menu_level-2(scene_business-center,txt_business);">
			   	Business Center
			</a><br/>										
		   </font></p>
		   <p><font face="arial">
			<a href="event:set(html,data:txt_lev1);">
			   	&lt;&lt; back
			</a><br/>


The first link did work, the latter not, because no plugin-name was provided for the html parameter... *cry*

Anyway, thank you very much :-)