Tribute Page project: creating "drop down" timeline

I want to turn the brief timeline into a drop-down list of sorts. I want it to be a timeline of years and brief descriptions (the parts in bold, e.g 1873: Brush with death), which are clickable then drop down to reveal more detailed event descriptions (the text are the hyphens). How can I go about doing this?

Hello @mangomania,

Did you check the select tag in HTML? It allows you to create a drop-down list. If you want to see how it works you can check that link: HTML select tag

Hope it answer your wondering. :wink:

1 Like


Thank you this was helpful. Although, I’d like to make it more as a “see more info” style drop down for each bullet point rather than a “select option” drop down? Are there any other elements that allow for drop down information reveal?

I think to realise something like that, you will need more JavaScript for example to change dynamically the page. When you code in HTML, the code is static which gives troubles for these kinds of purposes.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.