skip to content

Multiple sub levels over select boxes iframe fix

13th May 2008


OPTIONS


© 2008 stu nicholls - cssplay.co.uk


Information

This menu is aimed at all IE6 users who are having problems when using dropdown menus over 'form select boxes' where the select box is always on top no matter what z-index is used.

All other browsers will display correctly without this fix.

Based on the previous menu Professioanl menu #8 but using a very small 4 line javascript routine that takes all the hard work of styling each iframe with a width and height.

All that is necessay is to add the <iframe></iframe> after each <table><tr><td> and let the javascript work out the width amd height for you based on the width and height of the following <ul>.

The only styling required is to position the <iframe> off screen when not required and on screen with the same 'top' and 'left' position as the following <ul> when that <ul> is made visible.

The javascript routine does nothing in all other browsers and is placed in the html just after the menu.

Tested in IE6, IE7, Firefox, Safari and Opera.



Donations

Please consider making a donation if you wish to use this menu on a non-commercial website.

Terms and Conditions

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

  1. If you wish to use this menu in your website(s) please email me stu{at}cssplay.co.uk seeking permission.
  2. You may NOT place this menu on another site for others to download.
  3. You may NOT redistrubute or resell this menu.
  4. Users agree not to remove or edit the credit notice within the stylesheet, or claim that this menu is their own.
  5. If used on a commercial website or a for-profit website or in a paying job for a client then a donation is required for use.
Solution Graphics

CSS play recommend

DHTML menu & Javascript menu creator - Powerful web menu solutionsSitegrinderSocial Media Applications On DemandFlash LoadedFree, practical CSS menus, layouts, and examplesPSD to HTML