You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

VN2009

Professional

  • "VN2009" started this thread

Posts: 1,334

Location: Duluth MN

  • Send private message

1

Sunday, July 26th 2009, 11:19pm

possible to use more than 1 combobox?

is this possible? i have made combox1 and combobox2 but cannot get them to work simulaionously. has anyone else tried that?

VN2009

Professional

  • "VN2009" started this thread

Posts: 1,334

Location: Duluth MN

  • Send private message

2

Thursday, July 30th 2009, 8:50pm

bump! i really need an answer to this. i have tried and cannot get it to work. anyone else tried?

3

Friday, July 31st 2009, 4:46pm

Hi,

it should work, but the items must be added manually,
using the "combobox:itenname" actions will not work for both,

have a look here for the second example:
http://krpano.com/plugins/combobox/

e.g.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<plugin name="combobox1"
            url="plugins/combobox.swf" 
            ...
            onloaded="action(setupitems1);"
            />
    
<action name="setupitems1">
  removeall();
  additem(Box 1 - Item 1, loadpano(pano1.xml,null,MERGE,BLEND(1)); );
  additem(Box 1 - Item 2, loadpano(pano2.xml,null,MERGE,BLEND(1)); );
  additem(Box 1 - Item 3, loadpano(pano3.xml,null,MERGE,BLEND(1)); );
</action>


<plugin name="combobox2"
            url="plugins/combobox.swf" 
            ...
            onloaded="action(setupitems2);"
            />
    
<action name="setupitems2">
  removeall();
  additem(Box 2 - Item 1, loadpano(pano4.xml,null,MERGE,BLEND(1)); );
  additem(Box 2 - Item 2, loadpano(pano5.xml,null,MERGE,BLEND(1)); );
  additem(Box 2 - Item 3, loadpano(pano6.xml,null,MERGE,BLEND(1)); );
</action>


best regards,
Klaus

Tuur

Master

Posts: 2,312

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

4

Thursday, August 13th 2009, 7:22pm

Hi Guys...i back ...;-)

i have some combobox questions...

i made the loader of the pano's different (look in the bottom right corner) but when i use the combobox to navigate it jumps back to the default loader... *confused*

How can i change that??

something else:

I like the combo box to have a title and when you go on it ( now the title shows again..) (( see in example for culinaire..it's there twice))

I also like that it jumps back to the title when you leave that particular pano .

http://www.enkhuizen-virtueel.nl

Thanx... and the krpano wine is going great *thumbsup* comming soon

Tuur *thumbup*

5

Thursday, August 13th 2009, 7:30pm

I think you don't put anything for the loader on your XML calling with combobox ;-)

Tuur

Master

Posts: 2,312

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

6

Thursday, August 13th 2009, 11:16pm

Yes that worked!

Somebody about the other things??

Thanx

Tuur *thumbup*