Mobile Friendly Website


Doing it with style

CSS MENUSExperimental Menu #2 - Magic Menu series

Date : 10th August 2007

For all modern browsers

This demo is too wide for your mobile screen.
Please view on a tablet or PC.


This experimental menu is identical to the previous one as far as the source code and CSS are concerned. However it does make use of a small javascript file to rewrite the order of the link tags for Firefox and Mozilla only (a thank you to Jerry Anzalone for the javascript). This does require that the menu is placed in a div with an id. The id can have any name you like as long as this is placed in the body 'onload' javascript call.

So this now works in IE5.5, IE6, IE7, Netscape, Opera, Firefox, Mozilla and Safari (PC).

The javascript can be found here : geckoFix.js filesize just 581 bytes.

The next menu in this series shows how we can do away with the javascript and get it to work in all the above browsers without resorting to conditional comments.

You may use this method on your personal 'non-profit' web site without seeking my permission.
A link back to CSS PLAY is always appreciated.

Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSS PLAY.

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.


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.


Facebook Twitter rss feed Facebook Fan Page