Iframe shimming or ie6 (and below) select z-index bug?

You don't have to hide every select using a loop. All you need is a CSS rule like.

You don't have to hide every select using a loop. All you need is a CSS rule like: * html . DeSelects select { visibility: hidden; } And JS: //hide: document.body.

ClassName +=' hideSelects' //show: document.body. ClassName = document.body.className. Replace(' hideSelects', ''); (or use your favourite addClass / removeClass implementation).

There is a plugin for jquery called bgiframe that makes the iframe method quite easy to implement. Personally, as a web developer, I'm to the point where I no longer care about the user experience in IE6. I'll make it render as close to "correct" as possible, and make sure it's functional, but as far as speed goes, too bad.

They can upgrade. IE7 (though still quite slow, compared to every other browser) has been out for 2 years (almost to the day! ).

IE8 is going to be out shortly. Firefox is available for every platform. Safari is also an option (and super fast).

Opera is available for most/every platform. IE6 was released in over 7 years ago. IMHO, there is no reason to still be using it, other than lazy users and incompetent IT departments (or if you're a web developer).

I'd love to have the freedom to drop IE6 to the trashcan but I CANT. Most internal use applications were designed to support JUST IE6... so they don't support either IE7 nor better browsers... I'm evangelizing here stoplivinginthepast. Com, but its not on my domain :| – Eugenio Miró May 22 '09 at 15:42 Thanks for the bgiframe link.

That's saved me a LOT of hassle. :-) – James Jun 19 '09 at 9:41.

In case anyone is interested, here's some IE shimming code. * html . Shimmed { _azimuth: expression( this.

Shimmed = this. Shimmed || 'shimmed:'+this. InsertAdjacentHTML('beforeBegin',''), 'inherit'); } ref: this gist by subtleGradient and this post by Zach Leatherman.

Hmm, didn't work on the ajax. CalendarExtender control – Dave Jan 16 '09 at 17:21.

Prior to IE7 the drop down list was a "windowed" control meaning that it was rendered as a control directly by Windows rather than the browser synthesizing it. As such, it wasn't possible for it to support z-indexing against other synthesized controls. In order to appear over a DDL, you must use another windowed control, like IFRAME.

You can also use a little known IE-only feature called window.createPopup() which essentially makes a chromeless popup. It has limitations, like unstoppable click-out, but they are actually kinda helpful if you are building a hover menu system.

I think it was Windows XP SP2 that added an extra security feature called "Allow script-initiated windows without size or position contraints". This is default set to Disable in all IE zones. This causes you to lose control over the createPopup window.

Strongly recommend against using this functionality. I think the IE team added this feature because the createPopup window was being used by phishing sites to hide the real address bar. – einarq Jul 13 '10 at 14:16.

The simplest and most elegant solution to that annoying IE bug is found at: docs.jquery.com/Plugins/bgiframe using jQuery. I reached that conclusion after trying for 2 days to make it work with WebSphere Portal / Portal Applications where everything is dynamic, including the fly-over menu.

There's also the activex method, which I'm starting to explore. It requires creating conditional code to use an activex control instead of a select box for ie6. There's a demo script showing the technique, which is discussed in more detail here.

Update: it appears that MS Office is required for the active-x control to be on the user's machine. In theory, it might be possible to include that somewhere, somehow, but that's getting a lot messier.

I know many people suggested their own tips, but in my case, I just simply hide select using jquery like the below. $(':date'). Dateinput({ format: 'dd/mm/yyyy', onBeforeShow: function(event) { $('select').hide(); }, onde: function(event) { $('select').show(); } }).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions