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.

Drop down menus

Featured Replies

Hi everyone, I'm going to be implementing a drop down type menu, i.e. when I hover over "Our Services", a list of services drop down underneath it.

 

I'm just enquiring about the best way of doing this? I know it's possible with JavaScript, but some scripts are more bloated than others etc. and is it possible with just CSS?

 

Thanks in advance

I've used a jQuery dropdown for a few navigation menus recently. Not too much code and they work great.

 

I can't find the link where I originally got the script from, but if you visit one of my sites (www.thefruit-box.co.uk) you can use the code from there. It does work if javascript is disabled too. I'll try and find the original link for it and send you it.

 

Alternatively, this one looks quite good too - http://css-tricks.com/simple-jquery-dropdowns/

There are hundreds of pure CSS drop down menus here:-

http://www.cssplay.co.uk/menus/

Most seem to need a conditional comment for IE6 in the markup which isn't very neat, but it works.

 

The advantage of them is that they work when Javascript is disabled whereas javascript menus often don't or they work in a simplified form (but I note that Suckerfish menus as in the last post do work without javascript).

  • Author

Thanks guys, gave me enough to look into for the moment.

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.