This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sidebar [2020/06/22 07:33] arkyarky Drop Menu code added |
sidebar [2020/07/06 09:40] (current) |
||
---|---|---|---|
Line 28: | Line 28: | ||
* [[ public:browsing_searching_and_downloading_contents_from_the_datahub | Browsing, searching and downloading contents from the Datahub]] | * [[ public:browsing_searching_and_downloading_contents_from_the_datahub | Browsing, searching and downloading contents from the Datahub]] | ||
* [[ public:bug_reporting| Reporting bugs and/or feature requests on github]] | * [[ public:bug_reporting| Reporting bugs and/or feature requests on github]] | ||
- | |||
- | |||
** For mappers** | ** For mappers** | ||
<html> | <html> | ||
- | <select id="dynamic_select"> | + | <select id="dynamic_select" onchange="if (this.value) window.location.href=this.value"> |
<option value="" selected>Select a page</option> | <option value="" selected>Select a page</option> | ||
- | <option value="partners:upload_geospatial_data">Uploading geospatial data into CKAN</option> | + | <option value="https://wiki.opendevelopmentmekong.net/partners:upload_geospatial_data">Uploading geospatial data into CKAN</option> |
- | <option value="partners:changing_feature_style_in_CKAN">Changing Feature Styles in CKAN</option> | + | <option value="https://wiki.opendevelopmentmekong.net/partners:changing_feature_style_in_CKAN">Changing Feature Styles in CKAN</option> |
- | <option value="partners:feature_info_template_field_in_CKAN">Feature info template field in CKAN</option> | + | <option value="https://wiki.opendevelopmentmekong.net/partners:feature_info_template_field_in_CKAN">Feature info template field in CKAN</option> |
- | <option value="partners:data_dictionary">Data Dictionary in CKAN]</option> | + | <option value="https://wiki.opendevelopmentmekong.net/partners:data_dictionary">Data Dictionary in CKAN</option> |
- | <option value="partners:edit_update_resources">Updating resources in CKAN</option> | + | <option value="https://wiki.opendevelopmentmekong.net/partners:edit_update_resources">Updating resources in CKAN</option> |
- | <option value="partners:creating_a_profile_in_CKAN">Creating Profiles in CKAN</option> | + | <option value="https://wiki.opendevelopmentmekong.net/partners:creating_a_profile_in_CKAN">Creating Profiles in CKAN</option> |
- | <option value="partners:thematic-maps">Creating and embedding thematic maps</option> | + | <option value="https://wiki.opendevelopmentmekong.net/partners:thematic-maps">Creating and embedding thematic maps</option> |
- | <option value="partners:uploading_layers_to_geoserver">Uploading layers to geoserver</option> | + | <option value="https://wiki.opendevelopmentmekong.net/partners:uploading_layers_to_geoserver">Uploading layers to geoserver</option> |
</select> | </select> | ||
- | </html> | ||
- | |||
- | |||
- | |||
- | <html> | ||
- | <!-- | ||
- | * [[partners:upload_geospatial_data|Uploading geospatial data into CKAN]] | ||
- | * [[partners:changing_feature_style_in_CKAN|Changing Feature Styles in CKAN]] | ||
- | * [[partners:feature_info_template_field_in_CKAN|Feature info template field in CKAN]] | ||
- | * [[partners:data_dictionary|Data Dictionary in CKAN]] | ||
- | * [[partners:edit_update_resources|Updating resources in CKAN]] | ||
- | * [[partners:creating_a_profile_in_CKAN|Creating Profiles in CKAN]] | ||
- | * [[partners:thematic-maps|Creating and embedding thematic maps]] | ||
- | * [[partners:uploading_layers_to_geoserver|Uploading layers to geoserver]] | ||
- | --> | ||
</html> | </html> | ||
Line 65: | Line 48: | ||
**Learn about Dokuwiki** | **Learn about Dokuwiki** | ||
+ | * [[translation:about | Page Translation]] | ||
* [[wiki:syntax]] | * [[wiki:syntax]] | ||
* [[playground:playground]] | * [[playground:playground]] | ||
- | <html> | + | |
- | <script> | + | |
- | $(function(){ | + | |
- | // bind change event to select | + | |
- | $('#dynamic_select').on('change', function () { | + | |
- | var url = $(this).val(); // get selected value | + | |
- | if (url) { // require a URL | + | |
- | window.location = url; // redirect | + | |
- | } | + | |
- | return false; | + | |
- | }); | + | |
- | }); | + | |
- | </script></html> | + |