Having an issue where form elements underneath the popups are showing through. http://img.skitch.com/20090112-d32n6yb1pa4egyf9731xk6ixgs.png

I'm wondering your thoughts on using bgiframe.js to solve this issue. http://plugins.jquery.com/project/bgiframe

Comments

starbow’s picture

That's a new one on me. What browser are you using?
I don't know anything about bdiframe.

sirkitree’s picture

It's a pretty common ie6 bug. I'm going to test it out tomorow, let you know how it goes.

starbow’s picture

Fair enough. I haven't been testing on ie6, and am kind of surprised it works at all.

sirkitree’s picture

Category: support » feature

Well that's a bit of a scary statement! We just rolled it out on a pretty major website ;) (http://community.mylifetime.com) My bad.

Anyway, it works. Here's what I've done and suggest be done. It would really make a good feature.

Downloaded http://plugins.jquery.com/project/bgiframe and included that in my theme with
scripts[] = "js/jquery.bgiframe.js"

Then I added a Drupal.behavior to apply it.

Drupal.behaviors.popupsBGIFrame = function(context) {
  $('#popups-body').bgIframe();
}

(I tried to use #popups as the selector but that gave the modal window scroll bars, *icky*)

I would suggest that this file either be rolled into the module (not sure on licensing) and then the behavior added to popups.js

Before implementation: http://img.skitch.com/20090113-nypqfpwyge1a44gdnsysb5xu5b.png
After implementation: http://img.skitch.com/20090113-rhdgcky7712xb125wedwb97tin.png

starbow’s picture

Neat, I am glad it is working for you :)

deviantintegral’s picture

Did you put the behaviour in your theme? I'm trying to roll a patch for it and can't seem to get the behaviour you pasted to work.

In fact, my own behaviour I tried before I saw this issue didn't work either, only if I added the call directly in Popup.open().