Thank you San7, I changed the syntax.
I have a problem concerning the combobox now:
http://www.boog.in-arbeit.net/portfolio/pano…drale-solothurn
After closing the combobox, the plugin hides.
The div becomes a "display:none".
This is our xml:
Code
<combobox_design name="boognet" margin="8" open_close_speed="0.25"> <style name="combobox_container_style" bgalpha="0.4" bgcolor="0x000000" bgborder="0" bgroundedge="3" /> <style name="combobox_marker_style" css="background:url(…/icons/pfeil-unten-w.svg) no-repeat;margin-left:10px;background-size:contain;width:1rem;height:1rem;color:transparent" bg="false" /> <style name="combobox_item_style" css = "color:#ffffff;font-family:Montserrat, sans-serif;font-size:.9rem" onoveritem="set(css, 'color:#e0e0e0;font-family:Montserrat, sans-serif;font-size:.9rem')" onoutitem ="set(css, 'color:#ffffff;font-family:Montserrat, sans-serif;font-size:.9rem')" padding="4 4" bg="false" /> </combobox_design>
<include url="../combobox.xml"/> <combobox name="cb1" design="boognet" align="lefttop" x="20" y="20" > <item name="combobox0" caption="Hauptschiff" onClick="mainloadpano(.././pano.xml);"/> <item name="combobox1" caption="Chor" onClick="mainloadpano(.././pano.xml);"/> <item name="combobox2" caption="Mittelgang" onClick="mainloadpano(.././pano.xml);"/> <item name="combobox3" caption="Orgel" onClick="mainloadpano(.././pano.xml);"/> </combobox>