FABRIK:如何使用下拉元素隐藏元素

问题描述 投票:0回答:1
i have in the same group... 6 dropdowns. (doubt, should be in the same grouP, or selector should be in other group??)

dropdown-1 : is a language selector --> with 5 languages, language-1,2,3,4,5

5 others dropdowns.
dropdown-2 for language-1
dropdown-3 for language-2
dropdown-4 for language-3
dropdown-5 for language-4
dropdown-6 for language-5

first thing i'm tying is if dropdown-1 = 0 --> when you "load page" hide all rest of dropdowns
if dropdown-1 = 1 --> show only the dropdown-2 for language-1
if dropdown-1 = 2 --> show only the dropdown-3 for language-2
if dropddown-1 = 3 --> show only the dropdown-4 for language-3
if dropddown-1 = 4 --> show only the dropdown-5 for language-4
if dropddown-1 = 5 --> show only the dropdown-6 for language-5

在JavaScript插件的dropdown-1中,我尝试使用“ load”事件,并且在代码JS中,dropdrop-1 = 0只是第一个选择。隐藏其他元素,然后在最后一个Element插件中,选择下拉列表所在的组。插件看起来像这样。

[ELEMENT FABRIK PLUGIN][1]

but o the code doesn´t like (although i use something similar and works in other web) or maybe first dropdown should be out of the group.. but i try , and didn´t work either

i have try also, using the USE predefined ACTION.. but i can not hide any element



Any Suggestions?

thanks in advance!

Javier

enter image description here

joomla
1个回答
0
投票

[我在选择时错过了""

© www.soinside.com 2019 - 2024. All rights reserved.