Sie sind nicht angemeldet.

1

Montag, 27. September 2010, 21:25

textfield plugin sometimes not loading

I made a textfield plugin, which is sometimes loading, sometimes not. Especially when entering the pano for the first time it's not loaded:
http://iolar.nl/vt/metscenter/

It's about the textfield at the bottom with the following text:
"U bevindt zich hier: Ingang"

Also when going straight to another room, the textfield plugin is most of the time not loaded:
http://iolar.nl/vt/metscenter/?onstart=l…staurant.xml%29

Code:

metscenter.xml, which is included in every other xml:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
<krpano version="1.0.8">
        <events onxmlcomplete="action(setuppano);"
                onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);"
                onexitfullscreen ="set(plugin[openfs].visible,true);  set(plugin[closefs].visible,false);"
                />


        <action name="setuppano">
                action(qtvrcursor);
                txtadd(plugin[room].html, '<p>U bevindt zich hier: ', get(setroom), ' </p>');
        </action>



The 'other' xml-files (in this case the intensive care):

Quellcode

1
2
3
4
5
6
7
<krpano version="1.0.8" onstart="action(setmappoint);">
        <include url="metscenter.xml" />

        <action name="setmappoint">
                action(activatespot,intensivecare,330,1,Intensive Care);
                set(setroom,"Intensive Care");
        </action>


What's going wrong?

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

2

Montag, 27. September 2010, 21:39

He Maaike,

how are you? ;-)

I have a look, i also had this problem before...

I think the "" in the text shouldn't be there... but i'm not sure.. try to do intensive care instead of "intensive care"

There is also a problem with the hotspots..

That can cause the textfield going buggy aswell..


Cheers

Tuur *thumbsup*

PS
I'll call u tomorrow or wednesday..

3

Montag, 27. September 2010, 21:46

He Maaike,

how are you? ;-)


Hi, doing well, little busy, but trying to finally get some money with this ;).

Zitat

I have a look, i also had this problem before...

I think the "" in the text shouldn't be there... but i'm not sure.. try to do intensive care instead of "intensive care"


Tried, that's not the problem.

Zitat

There is also a problem with the hotspots..

That can cause the textfield going buggy aswell..


What problem?

Thanks for het meedenken (y).

Zitat

PS
I'll call u tomorrow or wednesday..


K... hope I have my phone next to the pc :P

PS Jaap is busy programming the last 2 days ;).

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

4

Montag, 27. September 2010, 21:50

well try to click an hotspot.. one of those arrow things... i can't click..

check your names and no doubles... check the onout or onhover name if you have that..

maybe put the showtextfield sooner in the 'start range'...
that will work..


Tuur

5

Montag, 27. September 2010, 21:57

Strange, I can click all arrows :S. No problems here.
Tried in IE, the hotspot disappears for a short time :(

Quellcode

1
<hotspot name="gang2" url="skin/goto_right.gif" onhover="showtext(Ga naar de gang,buttonstyle)" onover="set(url,skin/goto_right_over.gif);" onout="set(url,skin/goto_right.gif);" onclick="loadpano(gang2.xml, null, MERGE, BLEND(1));" ath="-47" atv="2" />


What's wrong?


Showtextfield on top of the action, but that still won't work :(.

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

6

Montag, 27. September 2010, 22:02

That onover gif doesn't show in safari ... did you upload?

i have to thonk about that textfield thing..

Tuur *thumbsup*

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

7

Montag, 27. September 2010, 22:05

can you change this:

set(url,skin/goto_right_over.gif);"

to this:

set(url, skin/goto_right_over.gif);"

extra space after the comma..


EDIT:sorry that won't make a difference..
A
*thumbsup*

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

9

Montag, 27. September 2010, 22:17

Here is the onover image:
http://iolar.nl/vt/metscenter/skin/goto_right.gif
(one of them)

So it's uploaded...



i have to thonk...


Happy thonking... ;)

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

11

Montag, 27. September 2010, 22:35

Strange, I can click all arrows :S. No problems here.
Tried in IE, the hotspot disappears for a short time :(

Quellcode

1
<hotspot name="gang2" url="skin/goto_right.gif" onhover="showtext(Ga naar de gang,buttonstyle)" onover="set(url,skin/goto_right_over.gif);" onout="set(url,skin/goto_right.gif);" onclick="loadpano(gang2.xml, null, MERGE, BLEND(1));" ath="-47" atv="2" />



This doesn't work also:
<hotspot name="receptie" url="skin/goto_up.gif" onhover="showtext(Ga naar binnen,buttonstyle);"
onover="set(url,skin/goto_up_over.gif); delayedcall(0.01,set(onout,set(url,skin/goto_up.gif);set(onout,)));"
onclick="loadpano(receptie.xml, null, MERGE, BLEND(1));" ath="10" atv="2" />

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

12

Montag, 27. September 2010, 22:39

I think there is something else wrong that makes this goes crazy..

are you sure no names twice?

Tuur *thumbsup*

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

13

Montag, 27. September 2010, 22:41

try and add: keep="false" to the hotspot...

EDIT: i also have this behaviour in FF...

Tuur

14

Sonntag, 3. Oktober 2010, 15:55

Both problems are not solved yet. I changed the hotspots so there's no 'onover' and 'onout' anymore, but I rather would have a solution.
The textfield sometimes still doesn't show up.

Ähnliche Themen