Mobile Friendly Website

CSSPLAY

Doing it with style

MENU



CSS MENUSResponsive multi-level menu with a little jQuery

Date : 26th May 2015

For all modern browsers



Information

A little deviation from the CSS only responsive menus, this one uses a little jQuery to control the responsive nature of the menu so that it even works in IE7 and IE8.

The jQuery changes the classname of the menu at a set screen width so that you can have two separate stylesheets, one for the PC menu and the other for a tablet/mobile menu.

For all the latest browsers, operating systems, PC, tablets and smartphones, including IE7 and IE8.

For PCs and larger tablets, hover/tap the top level and sub level list items with arrows to open their sub menus, move the mouse off the menu or tap anywhere off the menu to close open sub menus. All items are links, so for touch screens the first tap will open a sub menu and a second tap will action the link.

For smaller tablets and smartphones click/tap the menu tab to slide the menu in from the left. To close the menu click/tap the 'CLOSE' panel at the top of the menu or click/tap anywhere on the page to the right of the menu.

The jQuery routine also controls the scrolling of the menu on the iPad and iPhone.

Because this menu uses jQuery instead of CSS it can be dropped in anywhere on your page and will work. The only setup required is the 'data-mobile' attribute to control the changeover from the PC menu to the tablet/mobile menu, and the position of the MENU tab to open the tablet/mobile menu.


Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.

  1. If you are using this on a personal web site then please retain the copyright comment in the stylesheet.
    A support donation is now required for this demonstration.
  2. If you are using this on a commercial web site, or as a paying job for a client, then please email me asking for permission - stu{at}cssplay.co.uk and again a support donation is required.
  3. If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.

Terms and Conditions

This demonstration can be used subject to the following terms and conditions.

  1. If you wish to use this demonstration in your website(s) please email me stu{at}cssplay.co.uk seeking permission.
  2. You may NOT place this demonstration on another site for others to download.
  3. You may NOT redistrubute or resell this demonstration.
  4. Users agree not to remove or edit the credit notice within the stylesheet, or claim that this demonstration is their own.
  5. Please see the Copyright statement above regarding the requirement for a support donation.

Support CSSPLAY

Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.


CUSTOM SEARCH

Facebook Twitter rss feed Facebook Fan Page