Is there a way to create a drop down menu in Open Data 2.0?

1439
1
05-22-2017 11:41 AM
PatrickKielty
New Contributor III

In the original Open Data site, i could create a drop down using Select/Option with Java Script, HTML, and CSS. This would allow a user to select options from two drop down menus in order to download a specific file. Is there are way to still use JS/CSS or can this be done with Markdown?

0 Kudos
1 Reply
KlaraSchmitt
Esri Contributor

Hi Patrick,

We recently re-added the button element to allowed tags within our text card, so you should be able to achieve a dropdown menu using the Bootstrap classes from their documentation: http://getbootstrap.com/components/#btn-dropdowns 

However, I am not sure this will solve your use-case, since in order to use dropdown menus for selections, I think you'd need to know those values and we are not supporting external or inlined Javascript in 2.0. This was because we were seeing too many conflicts between custom scripts and our own Javascript, and these conflicts frequently broke functionality we had built.

0 Kudos