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.
This post has been edited 3 times, last edit by "light_line" (Jun 6th 2019, 7:15am)
This post has been edited 1 times, last edit by "samadi" (Apr 26th 2019, 10:18pm)
Thank you!Hello
I am very pleased with this plugin
Easy to use.
It is perfect and the display is correct on different devices like mobile and tablet.
I bought it and I'm using it.
Thank you, I'm telling to other members to buy it too.
![]()
Yes, it is possible.Can i make list with Groups (Electrical, Plumbing, Construction, etc) and under have names like Fuse Box, Main Switch in electrical and so on. When click on the item it will open panorama with direct view to that equipment?
I am aware that I need to find those links myself.
And would be nice if the list has only categories visible, and when clicked on it, it expand to show all items.
Is that possible?
Marcin
![]() |
Source code |
1 2 3 4 5 6 |
plugin[advance_combobox].addItem('Fuse Box',loadscene(YOUR_TARGET_SCENE,view.vlookat=YOUR_TARGET_VLOOKAT&view.hlookat=YOUR_TARGET_HLOOKAT,null,BLEND(0.9));,Electrical); plugin[advance_combobox].addItem('Main Switch',loadscene(YOUR_TARGET_SCENE,view.vlookat=YOUR_TARGET_VLOOKAT&view.hlookat=YOUR_TARGET_HLOOKAT,null,BLEND(0.9));,Electrical); plugin[advance_combobox].addItem('Channel Lock',loadscene(YOUR_TARGET_SCENE,view.vlookat=YOUR_TARGET_VLOOKAT&view.hlookat=YOUR_TARGET_HLOOKAT,null,BLEND(0.9));,Plumbing); plugin[advance_combobox].addItem('Hose Cutter',loadscene(YOUR_TARGET_SCENE,view.vlookat=YOUR_TARGET_VLOOKAT&view.hlookat=YOUR_TARGET_HLOOKAT,null,BLEND(0.9));,Plumbing); plugin[advance_combobox].addItem('Hammer',loadscene(YOUR_TARGET_SCENE,view.vlookat=YOUR_TARGET_VLOOKAT&view.hlookat=YOUR_TARGET_HLOOKAT,null,BLEND(0.9));,Construction); plugin[advance_combobox].addItem('Circular Saw',loadscene(YOUR_TARGET_SCENE,view.vlookat=YOUR_TARGET_VLOOKAT&view.hlookat=YOUR_TARGET_HLOOKAT,null,BLEND(0.9));,Construction); |
maybe in future updates.And would be nice if the list has only categories visible, and when clicked on it, it expand to show all items.
![]() |
Source code |
1 |
bgcolor="0x00205b" |
![]() |
Source code |
1 |
<combobox_design name="bluebackground" margin="4" open_close_speed="0.25"> <!-- default vtourskin.xml design --> <style name="combobox_container_style" bgalpha="0.8" bgcolor="0x00205b" bgborder="0" bgroundedge="1" bgshadow="0 4 10 0x000000 0.3" /> <style name="combobox_marker_style" css="color:#FFFFFF;" bg="false" txtshadow="0 0 2 0x000000 1" /> <style name="combobox_item_style" css="color:#FFFFFF;" padding="4 4" bg="false" bgcolor="0xFFFFFF" bgalpha="0.5" bgroundedge="0" txtshadow="0 0 2 0x000000 1" /> </combobox_design> |
![]() |
Source code |
1 2 3 4 5 6 7 8 |
textcolor="x444444" bgcolor="xffffff" bgalpha="1" bordercolor="xaaaaaa" borderalpha="1" selected_item_bgcolor="x5897fb" selected_item_bgalpha="1" selected_item_textcolor="xffffff" |
![]() |
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 27 28 29 30 |
<plugin name="advanced_combobox" url="plugins/advanced_combobox.js" keep="true" devices="html5" include_jquery="true" include_select2="true" align="topright" align.mobile="topcenter" x="10" x.mobile="0" y="10" y.mobile="20" width="40%" width.mobile="90%" parent="" font_size="13" font_name="Roboto,sans-serif" theme="default" language="en" text_direction="ltr" placeholder="Select a scene" show_searchbox="true" auto_generate_scenes_list="true" native_on_mobile="true" group_scenes="true" textcolor="xffffff" bgcolor="x000000" bgalpha="0.5" bordercolor="x000000" borderalpha="0.5" selected_item_bgcolor="xffffff" selected_item_bgalpha="0.5" selected_item_textcolor="x000000" /> |
![]() |
Source code |
1 |
<layer name="skin_btn_mag" style="skin_base|skin_glow" crop="0|192|64|64" align="left" x="95" y="0" scale="0.5" onclick="switch(plugin[advanced_combobox].visible);"/>> |
This post has been edited 1 times, last edit by "ggarmen" (Jun 17th 2019, 3:32am)
if you want to hide/show the plugin programmatically, this the solution:1. What code can I use to hide/show the advanced combobox plugin? If you take a look at my working version , I have a search icon in the bottom navigation bar. I would like for the advanced combobox to be hidden when the page is loaded, but when the user clicks on the search icon, I would like for the combobox to appear.
![]() |
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 |
<layer name="my_plugin_parent" keep="true" type="container" x.normal="10" x.mobile="0" y.normal="10" y.mobile="20" width.normal="40%" width.mobile="90%" align.normal="topright" align.mobile="topcenter" /> <plugin name="advanced_combobox" url="plugins/advanced_combobox.js" keep="true" devices="html5" include_jquery="true" include_select2="true" parent="my_plugin_parent" width="100%" onInitialized="test();" font_size="13" font_name="Roboto,sans-serif" theme="default" language="en" text_direction="ltr" placeholder="Select a scene" show_searchbox="true" auto_generate_scenes_list="true" native_on_mobile="true" group_scenes="true" max_height="55%" /> |
you can use these methods for opening or closing the plugin:2. Also if we can get #1 working, when the advanced combobox appears I would like for it to appear in an already expanded state, as shown in the attached image. How do I do this? <img src="https://www.dropbox.com/s/i07us2wn4p3kmwl/opened-state.jpg?dl=0" alt="opened-state.jpg?dl=0" title="opened-state.jpg?dl=0" style="font-size: 0.8em;" />
![]() |
Source code |
1 2 |
plugin[advanced_combobox].open(); plugin[advanced_combobox].close(); |
for customizing the plugin height, you can use these new attributes:3. Is it possible to customize the height of the combobox once expanded? In my example above on a desktop, when it is expanded it shows 5 items. However there is room on the screen to show more items before forcing the user to use the scroll down using the bar on the right. It would be great if the height could be configured as a % of the screen size or something else so that user scrolling effort is minimized.
![]() |
Source code |
1 |
max_height="55%" |
This post has been edited 1 times, last edit by "light_line" (May 25th 2019, 3:58pm)
![]() |
Source code |
1 |
onclick="switch(plugin[my_plugin_parent].visible); plugin[advanced_combobox].open(); set(plugin[advanced_combobox].x,0); set(plugin[advanced_combobox].align,center);"/> |
This post has been edited 1 times, last edit by "ggarmen" (Jun 17th 2019, 3:33am)
![]() |
Source code |
1 2 3 4 5 |
<layer name="skin_btn_mag" style="skin_base|skin_glow" crop="0|192|64|64" align="left" x="95" y="0" scale="0.5" onclick="set(onclick,get(onclick_close));set(plugin[my_plugin_parent].visible,true); set(plugin[advanced_combobox].x,0); set(plugin[advanced_combobox].align,center); delayedcall(0.05,plugin[advanced_combobox].open(););" onclick_open="set(onclick,get(onclick_close));set(plugin[my_plugin_parent].visible,true); set(plugin[advanced_combobox].x,0); set(plugin[advanced_combobox].align,center); delayedcall(0.05,plugin[advanced_combobox].open(););" onclick_close="set(onclick,get(onclick_open));set(plugin[my_plugin_parent].visible,false); set(plugin[advanced_combobox].x,0); set(plugin[advanced_combobox].align,center); delayedcall(0.05,plugin[advanced_combobox].close(););" /> |
Quoted
<action name="pdf_frame">
<!--ifull iframe-->
set(layer[pdf_thumb], type='text', parent='pdf_box_thumb', align='center', bgcolor='0x232323', bgalpha='0.5', bgroundedge='20', width='100%', height='100%', keep='true', zorder='6024', interactivecontent='true', renderer='css3d' );
txtadd(layer[pdf_thumb].html, '[div style="position:absolute; right:0; bottom:0; left:0; top:0; overflow-y:yes; background:rgba(233, 0, 0, 0.0); -webkit-overflow-scrolling:touch;"] [iframe id="pdf_thumb" width="100%" height="100%" src="pdf_data/',%1_%2,'.pdf" frameborder="0" scrolling="yes" allow-same-origin allowfullscreen][/iframe][/div]');
set(layer[pdf_thumb].onloaded, pdf_resize(thumb););
</action>
can you give me a link to test your code?If you use an iframe like the example sentence, there is an error on the screen.
If you do not use Advanced Combobox Plugin, it works normally.
I would like to ask you to confirm what is happening in this part.
This post has been edited 1 times, last edit by "ggarmen" (Jun 17th 2019, 3:33am)
as I told you, the open/close method doesn`t work when you use the native combobox on mobile devices.please consider that these methods only work on desktop devices.
native combobox does not support these methods on mobile devices.
![]() |
Source code |
1 2 3 4 5 |
<layer name="skin_btn_mag" style="skin_base|skin_glow" crop="0|192|64|64" align="center" x="30" y="0" scale="0.5" onhover="showtext(Find A Section, navbar)" onclick="set(onclick,get(onclick_close));set(plugin[my_plugin_parent].visible,true); set(plugin[advanced_combobox].x,0); set(plugin[advanced_combobox].align,center);" onclick_open="set(onclick,get(onclick_close));set(plugin[my_plugin_parent].visible,true); set(plugin[advanced_combobox].x,0); set(plugin[advanced_combobox].align,center);" onclick_close="set(onclick,get(onclick_open));set(plugin[my_plugin_parent].visible,false); set(plugin[advanced_combobox].x,0); set(plugin[advanced_combobox].align,center);" /> |