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.

Expandable links without JS?

Featured Replies

Hello all,

Is it possible to create an expandable link without using javascript?

 

For instance, I would like to have some links: services, templates, and products, and I would like them to expand down to show content instead of linking users to a separate page pix-webdesign.com

 

Thank you for any and all suggestions!

You can do it with PHP (no javascript). The only difference is that with javascript you click the same link or button to toggle show or hide, but with PHP you click the link or button to show the extra element but have to click the browser back button to hide it again.

http://www.wickham43.net/showform.php

Are you talking about creating drop-down menus? If so, CSS is your friend. If you put those links into an unordered list and each submenu into a nested unordered list, you can then use CSS so that the submenu is hidden by default and then when you hover over the parent item the submenu shows up. I used to do all my menus that way, until I realised it was just so much easier to use a bit of Javascript instead (the Spry dropdown list is pretty good).

  • 1 month later...

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.