jqModal IE7 Black Flicker Bug

jqModal r14 has an odd bug that only occurs on IE7 only, where the screen will flicker black before displaying the modal window.  This only happens when you use the options modal: true and overlayClass. I did some digging through the source and found a quick workaround – change line 41 from:

if(c.modal) {if(!A[0])L('bind');A.push(s);}


if(c.modal) {A.push(s);}

Or just get the updated file here.

Since jqModal’s source is minified, I’m not 100% sure what the removed piece of code was meant to do, but from what I’ve tested, the behavior is still the same.

Quick demos are here:


Polprav on Thursday, October 22, 2009 (9:24PM)

Hello from Russia!
Can I quote a post in your blog with the link to you?

Jim on Thursday, October 22, 2009 (9:27PM)

Sure, go for it.