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.

1

Tuesday, September 4th 2012, 1:07am

combobox default to html5

This is my combobox routine, is there a flag I can set to make it look like the iPad version on the desktop?

http://astimegoesby.us/panoramas/austinscarcollection


<plugin name="cb" url="combobox.swf" alturl="combobox.js"
align="lefttop" x="10" y="10" rowcount="20" keep="true"
>

<item name="item0" caption="Picture Galleries" />
<item name="item1" caption="Ken Austin's Rod Shop" onclick="openurl(images/rodshop/index.html,newberg)" />
<item name="item2" caption="Austin Intake Maniforlds" onclick="openurl(images/austinintake/index.html,newberg)" />
<item name="item3" caption="Inside the Vehicles" onclick="openurl(interior/index.html,newberg)" />
<item name="item4" caption="1907 Ford Model K" onclick="openurl(images/07fordmodelk/index.html,newberg)" />
<item name="item5" caption="1907 Ford Model S" onclick="openurl(images/07fordmodels/index.html,newberg)" />
<item name="item6" caption="1908 Sears Motor Buggy" onclick="openurl(images/08sears/index.html,newberg)" />
<item name="item7" caption="1913 IHC Motor Wagen" onclick="openurl(images/13ihc/index.html,newberg)" />
<item name="item8" caption="1913 Ford Model T Depot Hack" onclick="openurl(images/13tdepothack/index.html,newberg)" />
<item name="item9" caption="1915 Ford Model T Speedster" onclick="openurl(images/15tspeedster/index.html,newberg)" />
<item name="item10" caption="1924 Mack AB Fuel Truck" onclick="openurl(images/24mackfueltruck/index.html,newberg)" />
<item name="item11" caption="1924 Mack AC Log Truck" onclick="openurl(images/24macklogtruck/index.html,newberg)" />
<item name="item12" caption="1925 'Rajo' Special" onclick="openurl(images/25rajospecial/index.html,newberg)" />
<item name="item13" caption="1927 Ford Model T Coupe" onclick="openurl(images/27fordcoupe/index.html,newberg)" />
<item name="item14" caption="1927 Ford T Roadster Pickup" onclick="openurl(images/27tratrod/index.html,newberg)" />
<item name="item15" caption="1927 'Zypher' T street Rod" onclick="openurl(images/27troadsterzypher/index.html,newberg)" />
<item name="item16" caption="1927 T Street Rod" onclick="openurl(images/27tstreetrod/index.html,newberg)" />
<item name="item17" caption="1928 Chevrolet Coupe" onclick="openurl(images/28chevycoupe/index.html,newberg)" />
<item name="item18" caption="1928 Ford Model A Roadster Pickup" onclick="openurl(images/28roadsterpu/index.html,newberg)" />
<item name="item19" caption="1929 GMC Fire Truck" onclick="openurl(images/29gmcfiretruck/index.html,newberg)" />
<item name="item20" caption="1929 Lincoln Model L" onclick="openurl(images/29lincoln/index.html,newberg)" />
<item name="item21" caption="1931 American Austin" onclick="openurl(images/31americanaustin/index.html,newberg)" />
<item name="item22" caption="1931 Ford Modified Roadster Pickup" onclick="openurl(images/31modifiedroadsterpu/index.html,newberg)" />
<item name="item23" caption="1932 Ford Roadster" onclick="openurl(images/32fordroadster/index.html,newberg)" />
<item name="item24" caption="1934 Gilmore Special" onclick="openurl(images/34gilmore/index.html,newberg)" />
<item name="item25" caption="1936 Ford Touring Sedan" onclick="openurl(images/36fordtouringsedan/index.html,newberg)" />
<item name="item26" caption="1937 Ford Roadster" onclick="openurl(images/37fordroadster/index.html,newberg)" />
<item name="item27" caption="1939 Ford Convertible Sedan" onclick="openurl(images/39fordconvertiblesedan/index.html,newberg)" />
<item name="item28" caption="1944 Willy's Jeep" onclick="openurl(images/44willys/index.html,newberg)" />
<item name="item29" caption="1945 Hillegrass Midget" onclick="openurl(images/45hillegrassmidget/index.html,newberg)" />
<item name="item30" caption="1948 MG TC" onclick="openurl(images/48mgtc/index.html,newberg)" />
<item name="item31" caption="1948 Ford Woody with 1951 Century" onclick="openurl(images/48woodyand51century/index.html,newberg)" />
<item name="item32" caption="1953 Ford Deluxe" onclick="openurl(images/53forddeluxe/index.html,newberg)" />
<item name="item33" caption="1955 Ford Thunderbird" onclick="openurl(images/55thunderbird/index.html,newberg)" />
<item name="item34" caption="1962 Corvette" onclick="openurl(images/62corvette/index.html,newberg)" />
<item name="item35" caption="1928 Ford Model A Roadster Pickup" onclick="openurl(images/28roadsterpu/index.html,newberg)" />
<item name="item36" caption="1969 Jaguar XKE" onclick="openurl(images/69xke/index.html,newberg)" />
<item name="item37" caption="Go Carts" onclick="openurl(images/gocarts/index.html,newberg)" />
<item name="item38" caption="Ken's Tractors" onclick="openurl(images/tractors/index.html,newberg)" />
</plugin>
Bill



http://astimegoesby.us Personal family history back to the 1800's

2

Tuesday, September 4th 2012, 10:42am

Hi,

no, the Flash combobox isn't customizable at the moment but that's already planed
(btw - using the HTML5 combobox in Flash isn't possible of course),

best regards,
Klaus

3

Tuesday, September 4th 2012, 6:01pm

Thanks for the info.
Bill



http://astimegoesby.us Personal family history back to the 1800's

4

Thursday, September 6th 2012, 6:49pm

auto detect ipad

I wish on click behaved the same way where ever it is used, but it behave differently in combobox then in other hotspot environments.

I will write this as if a basic if statement, please show me how to do it to detect the browser and xml compliant.

The difference is the target statement, ipad in combobox will not recognize an arbitrary word (this opens 1 new window and all calls to that target word go to that window, where _self will keep opening new windows and I don't want to overwrite the main pano window).


if device = ipad


<plugin name="cb" url="combobox.swf" alturl="combobox.js"

align="lefttop" x="10" y="10" rowcount="20" keep="true"

>



<item name="item0" caption="Picture Galleries" />

<item name="item1" caption="Ken Austin's Rod Shop" onclick="openurl(images/rodshop/index.html,_self)" />

<item name="item2" caption="Austin Intake Maniforlds" onclick="openurl(images/austinintake/index.html,_self)" />



</plugin>

else

<plugin name="cb" url="combobox.swf" alturl="combobox.js"

align="lefttop" x="10" y="10" rowcount="20" keep="true"

>



<item name="item0" caption="Picture Galleries" />

<item name="item1" caption="Ken Austin's Rod Shop" onclick="openurl(images/rodshop/index.html,newberg)" />

<item name="item2" caption="Austin Intake Maniforlds" onclick="openurl(images/austinintake/index.html,newberg)" />



</plugin>

endif
Bill



http://astimegoesby.us Personal family history back to the 1800's

5

Wednesday, September 12th 2012, 10:34am

Hi,

you can use the devices setting to specify xml tags for specific devices,
e.g.

Source code

1
2
<item ... devices="flash" />
<item ... devices="html5" />


btw - the Flashplayer openurl() action can't be used to target other frames,
see here:
http://krpano.com/docu/actions/#openurl

best regards,
Klaus

6

Thursday, September 13th 2012, 8:29pm

Unless we are talking about two different thing, the flash player does use arbitrary names, it was the html5 version of combobox that didn't.

http://astimegoesby.us/panoramas/austinscarcollection

Now loads the different menus according to ipad or flash, I haven't tested the ipad yet, as I don't have one (I go to the phone store and use theirs :-) ) but if you open a new window, all future calls to that target name go to that window.

Bill
Bill



http://astimegoesby.us Personal family history back to the 1800's

7

Friday, September 14th 2012, 2:39pm

Hi,
Unless we are talking about two different thing, the flash player does use arbitrary names, it was the html5 version of combobox that didn't.
what do you mean with 'the flash player does use arbitrary names'

Best regards,
Klaus

8

Friday, September 14th 2012, 7:40pm

two different combo boxes, one for ipad one for flash(anything other the iPad)

"fl" uses an arbitrary name for the target, I just used the name 'newberg', this will open one new window and all calls after that to target="newberg" will go to that one window. This does not work on iPad, in fact the 'fl' combobox will not load anything on the ipad.

'pad' uses normal structure only. '_self' will load into the same window it was called from and '_blank' will open multiple windows. I hate having multiple windows open, I prefer calling an external call into just one extra window. That's accomplished by using an arbitrary name as the target.

This only happens in the combobox, if the onclick=open ?? is used elsewhere the arbitrary name 'newberg' will work on the iPad as desired.

<plugin name="fl" url="combobox.swf" alturl="combobox.js"
align="lefttop" x="10" y="10" rowcount="20" keep="true"
>


<item name="item0" caption="Picture Galleries" />
<item name="item1" caption="Ken Austin's Rod Shop" onclick="openurl(images/rodshop/index.html,newberg)" />
<item name="item2" caption="Austin Intake Maniforlds" onclick="openurl(images/austinintake/index.html,newberg)" />
<item name="item3" caption="Inside the Vehicles" onclick="openurl(interior/index.html,newberg)" />

</plugin>

<plugin name="pad" url="combobox.swf" alturl="combobox.js"
align="lefttop" x="10" y="10" rowcount="20" keep="true"
>

<item name="item0" caption="Picture Galleries" />
<item name="item1" caption="Ken Austin's Rod Shop" onclick="openurl(images/rodshop/index.html,_self)" />
<item name="item2" caption="Austin Intake Maniforlds" onclick="openurl(images/austinintake/index.html,_self)" />
<item name="item3" caption="Inside the Vehicles" onclick="openurl(interior/index.html,_self)" />

</plugin>
Bill



http://astimegoesby.us Personal family history back to the 1800's

9

Saturday, September 15th 2012, 9:03am

Hi,

the popup-blocker of the iOS Safari typically blocks the opening of urls in external windows...
try to disable the popup-blocker to see if that was the problem,

best regards,
Klaus

Similar threads