Sie sind nicht angemeldet.

1

Freitag, 13. Januar 2012, 18:11

Combobox width on iphone

Hi

I have a strange behaviour of combobox only on iphone, not on ipad.

have a look here, the width of the combobox is very wide, as it is normal on ipad:


Here's the code used for combobox:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
<plugin name="combobox_cars" url="%SWFPATH%/interface/plugins/combobox/combobox.swf"
		align="top" 
		edge="center" 
		
		height="25"
		rowcount="15"
		alturl="%SWFPATH%/interface/plugins/combobox/combobox.js" 
		x="240" y="30"  
		zorder="103"  
		onloaded="if(ishtml5,set(ox,-2);set(height,32)); listCars(); set(events.onpreviewcomplete,onnewpano());"
		onclick="plugin[combobox_stands].closeList()"
		keep="true"
    	/>  


thanks for help!

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

2

Freitag, 13. Januar 2012, 18:37

Hi, I don't understand what you want to do with setting ox and height on thi splugin ???
Remove this and add native="auto"...

By the way :

you should remove your bottom menu on iphone (it's much too small and has no use) just put a stop sound (on no sound at all, your sound is very very boring)
Add also a button to stop gyroscope, and don't mix gyro and autorotate, users won't understand anything
you are on olmost every rearview mirror...
poor girls...

3

Samstag, 14. Januar 2012, 22:07

well,

ox and height are adjustments for ios version of combobox.

of course menu is too small, it is a production version.

what is

Quellcode

1
native="auto"
?

can't find it on any documentation.

Why do you say "poor girls"?

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

4

Sonntag, 15. Januar 2012, 13:03

For native param see combobox documentation : http://krpano.com/plugins/combobox/#top

As iphone screen width might be too small to display 2 combobox inline I would suggest you to replace the list by 2 buttons setting visible to false and the button onclick to display the list. (sorry for my english)

For the girls, nothing against you, it's just that I hate seeing womens used as products...

5

Montag, 16. Januar 2012, 09:39

ok problem solved with setting:

Quellcode

1
cbdesignscale=1


which default = 2 on iphone, was causing the width to be doubled.

thanks for your interest!

Ähnliche Themen