suggested patch for div on top of flash frame problem in IE7
| Project: | bgiframe |
| Version: | 2.1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Hi, I am running into problems with autocomplete and flash content embedded in a div in IE7. This plugin can fix the problem. (Autocomplete uses bgImage, which is how I found out about this plugin.)
The problem: an autocomplete text element placed above an iframe containing flash content. It may not have to be in an iframe, but in my case it is. (Sorry, no public url available to demo this). The autocomplete drop down does not show up on top of the flash in IE7, but does in firefox.
The suggested fix: add a "force" option, as in "force this to work in IE". My implementation:
$.fn.bgIframe = $.fn.bgiframe = function(s) {
// This is only for IE6, unless force is set, then it is for any msie browser
if ($.browser.msie && (s.force || ( /6.0/.test(navigator.userAgent)) ) {
...
There is still a problem in that using the mouse wheel or the scrollbar on the main page will cause the top div to toggle back under the flash content.
