anonaddy / addy.io

The source code for addy.io landing page
https://addy.io
MIT License
42 stars 14 forks source link

Make FAQs collapsible #2

Closed ghost closed 3 years ago

ghost commented 4 years ago

There are many FAQs and to make scrolling easier, it needs to be collapsible. Maybe, details/summary tag may help

willbrowningme commented 4 years ago

Thanks, I agree that it would make it easier to scroll. The main reason I haven't done this is because I didn't want to add javascript to pages that didn't need it. The only javascript currently used on the site is for the search functionality and some code highlighting on the blog/help pages.

I'll have a look at any other ways to acheive a similar thing.

ghost commented 4 years ago

use details and summary tag and add some CSS . It'll be fine without js

MartijnCuppens commented 3 years ago

Watch out with hiding text. Users often navigate by using the browser search.

An alternative could be to add anchor links to the top of the page that link to the titles (if you can manage to add unique id's to the headings somehow).

willbrowningme commented 3 years ago

@MartijnCuppens Thanks, just updated the site now to include links to each question at the top of the page.