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>

  • 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

  • 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 *smile* ) but if you open a new window, all future calls to that target name go to that window.

    Bill

  • 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>

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!