Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

accordian

Featured Replies

I'm a front end design with a few basic coding skills but  i have no idea of js so this simple accordian is stumping me. i don't want the weight of jquery and found this js online https://codepen.io/dp/pen/qvwKJK?editors=1100 

what i want it do is have the hidden parts hidden when page loads and then each one open when clicked on and closed when clicked on again.  

this looked great https://css-tricks.com/quick-reminder-that-details-summary-is-the-easiest-way-ever-to-make-an-accordion/ but no edge :( (can live with already-open-only if it was only IE) 

this is what i have https://codepen.io/dp/pen/qvwKJK?editors=1100  this is what i#m aiming for but only got it to work on one https://codepen.io/dp/pen/LavQOm?editors=1100 then found the code to cycle through the links and find the onesto be toggled

  • Author

huh codepen was down today! other people's and my own dribblings :)  looks good though. to be honest i've had a such a time fighting with modx (eugh) that i have no energy left until next week now ;) 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.