Eyesee Posted December 7, 2023 Share Posted December 7, 2023 Am setting up some webpages on a home computer to show old calendars. Using the OPTION tag to get to the various years, but am unable to get the links to work, so must be doing something wrong somewhere. Have seen this done on a live online website and it all works perfectly. Is someone able to assist please. Thanks Ian C HTML code <div class="w3-center"> <select aria-expanded="false" id="sort-select"> <option value="/1801_index.html">1801</option> <option value="/1802_index.html">1802</option> <option value="/1803_index.html">1803</option> <option value="/1804_index.html">1804</option> <option value="/1805_index.html">1805</option> <option value="/1806_index.html">1806</option> <option value="/1807_index.html">1807</option> <option value="/1808_index.html">1808</option> <option selected="selected" value="/1809_index.html">1809</option> <option value="/1810_index.html">1810</option> <option value="/1811_index.html">1811</option> ...... <option value="/1895_index.html">1895</option> <option value="/1896_index.html">1896</option> <option value="/1897_index.html">1897</option> <option value="/1898_index.html">1898</option> <option value="/1899_index.html">1899</option> <option value="/1900_index.html">1900</option> </select> </div> Link to comment Share on other sites More sharing options...
Ingolme Posted December 9, 2023 Share Posted December 9, 2023 You would need some Javascript to make it work. The <option> elements on their own don't do anything. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now