Account Options

  1. Sign in
Google Groups Home
« Groups Home
BUG: oversized overlay in IE web browsers ( demo included )
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  16 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tallvanilla  
View profile  
 More options Oct 20 2008, 5:27 pm
From: tallvanilla <tallvani...@gmail.com>
Date: Mon, 20 Oct 2008 14:27:24 -0700 (PDT)
Local: Mon, Oct 20 2008 5:27 pm
Subject: BUG: oversized overlay in IE web browsers ( demo included )
Hello. I found a minor bug that affects overlay in IE web browsers (at
least in IE6).

Please take a look at this very simple demo:

http://74.205.76.81/blockuitest/

In IE(6), the overlay is a bit taller than the browser window, so a
scrollbar appears on the right whenever the overlay is present. In
other web browsers, this doesn't happen.

I found a similar bug with the Boxy plug-in a couple of weeks ago, and
its author was able to fix it pretty easily. I'm a jQuery/javascript
novice, so I'm not sure how the fix was implemented. Would this be
worthwhile and easy fix for blockUI as well?

JR


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Josh Nathanson  
View profile  
 More options Oct 20 2008, 7:09 pm
From: "Josh Nathanson" <joshnathan...@gmail.com>
Date: Mon, 20 Oct 2008 16:09:07 -0700
Local: Mon, Oct 20 2008 7:09 pm
Subject: Re: [jQuery] BUG: oversized overlay in IE web browsers ( demo included )
This happens where there is some padding or margin on the body.  If you set
them to 0 via css it should take care of the problem.

/* css */
body {
padding: 0;
margin: 0;

}

-- Josh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tallvanilla  
View profile  
 More options Oct 20 2008, 10:47 pm
From: tallvanilla <tallvani...@gmail.com>
Date: Mon, 20 Oct 2008 19:47:25 -0700 (PDT)
Local: Mon, Oct 20 2008 10:47 pm
Subject: Re: BUG: oversized overlay in IE web browsers ( demo included )

Thanks for the reply, Josh... but that isn't the problem. To
demonstrate, I updated my demo according to your suggestion:

http://74.205.76.81/blockuitest/

Even if that WAS the solution, it would force people to zero out their
body padding and margins. Not a problem for most, but inconvenient for
many. If you consider IE important, it's a blockUI bug.

Any other takers? Here's how Boxy's author fixed it (in his own
words):

"I've added a separate sizing method specifically for IE6 which uses
the viewport dimensions instead of the document, and repositions on
scroll as well as on resize. I tried using this approach for all
browsers but Firefox was having none of it."

JR

On Oct 20, 4:09 pm, "Josh Nathanson" <joshnathan...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tallvanilla  
View profile  
 More options Oct 21 2008, 1:04 pm
From: tallvanilla <tallvani...@gmail.com>
Date: Tue, 21 Oct 2008 10:04:37 -0700 (PDT)
Local: Tues, Oct 21 2008 1:04 pm
Subject: Re: BUG: oversized overlay in IE web browsers ( demo included )
(bump)

Any takers?

On Oct 20, 7:47 pm, tallvanilla <tallvani...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wayne  
View profile  
 More options Oct 21 2008, 1:09 pm
From: Wayne <wayne.el...@gmail.com>
Date: Tue, 21 Oct 2008 10:09:31 -0700 (PDT)
Local: Tues, Oct 21 2008 1:09 pm
Subject: Re: BUG: oversized overlay in IE web browsers ( demo included )
Is this why ThickBox sets all paddings and margins to 0? I agree, it's
annoying.

I switched to John's Greybox Redux (http://jquery.com/blog/2006/02/10/
greybox-redux/) for my modal, and I don't see problems on IE6. It also
was more semantically correct than Thickbox's iFrame implementation of
putting the sizes in the href.

-Wayne

On Oct 21, 1:04 pm, tallvanilla <tallvani...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Josh Nathanson  
View profile  
 More options Oct 21 2008, 1:12 pm
From: "Josh Nathanson" <joshnathan...@gmail.com>
Date: Tue, 21 Oct 2008 10:12:46 -0700
Local: Tues, Oct 21 2008 1:12 pm
Subject: Re: [jQuery] Re: BUG: oversized overlay in IE web browsers ( demo included )
You might want to give jqModal a shot.  BlockUI is better for blocking
specific parts of a document, during an ajax call or the like.  jqModal is
more of a modal window solution that might be better suited to what you're
trying to do.  There's also SimpleModal which I personally haven't used.

-- Josh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tallvanilla  
View profile  
 More options Oct 21 2008, 1:18 pm
From: tallvanilla <tallvani...@gmail.com>
Date: Tue, 21 Oct 2008 10:18:45 -0700 (PDT)
Local: Tues, Oct 21 2008 1:18 pm
Subject: Re: BUG: oversized overlay in IE web browsers ( demo included )
Thanks for all the suggestions guys, but I've kind of narrowed my
preference down to blockUI for the job at hand. Believe me, I've tried
them all, and they all have their share of quirks. Does anyone have a
suggestion for fixing the blockUI bug? If not, do know how I can
contact it's author directly? Thanks again for your help so far!

JR

On Oct 21, 10:12 am, "Josh Nathanson" <joshnathan...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "BLOCKUI: oversized overlay bug in IE web browsers ( demo included )" by tallvanilla
tallvanilla  
View profile  
 More options Oct 21 2008, 6:55 pm
From: tallvanilla <tallvani...@gmail.com>
Date: Tue, 21 Oct 2008 15:55:22 -0700 (PDT)
Local: Tues, Oct 21 2008 6:55 pm
Subject: BLOCKUI: oversized overlay bug in IE web browsers ( demo included )
(fixed subject to specify blockUI)

On Oct 21, 10:18 am, tallvanilla <tallvani...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "BUG: oversized overlay in IE web browsers ( demo included )" by Mike Alsup
Mike Alsup  
View profile  
 More options Oct 21 2008, 8:12 pm
From: Mike Alsup <mal...@gmail.com>
Date: Tue, 21 Oct 2008 17:12:50 -0700 (PDT)
Local: Tues, Oct 21 2008 8:12 pm
Subject: Re: BUG: oversized overlay in IE web browsers ( demo included )

> Thanks for all the suggestions guys, but I've kind of narrowed my
> preference down to blockUI for the job at hand. Believe me, I've tried
> them all, and they all have their share of quirks. Does anyone have a
> suggestion for fixing the blockUI bug? If not, do know how I can
> contact it's author directly? Thanks again for your help so far!

If you look at the code you will see that blockUI has lots of ie6
specific sizing logic.  But the sizing problems are made even more
challenging when a page is running in quirksmode, as yours is.  I
think you'll see this problem go away if you use a strict doctype.

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "BlockUI: oversized overlay bug in IE web browsers ( demo included )" by tallvanilla
tallvanilla  
View profile  
 More options Oct 21 2008, 9:50 pm
From: tallvanilla <tallvani...@gmail.com>
Date: Tue, 21 Oct 2008 18:50:51 -0700 (PDT)
Local: Tues, Oct 21 2008 9:50 pm
Subject: BlockUI: oversized overlay bug in IE web browsers ( demo included )

Thanks Mike!

But again, the solutions being suggested are outside of the plugin
itself. Changing a doc type is easy, but not always practical because
of other effects it may have on the page/site.

It's really up to BlockUI to address this. Ideally, a plugin should be
designed to account for the most common environments in which it will
operate. IE6 is still a major player with at least 20% (some say as
high as 35%) market share among web users. I hate compensating for IE6
as much as the next guy, but it's a necessary evil.

JR

On Oct 21, 5:12 pm, Mike Alsup <mal...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Alsup  
View profile  
 More options Oct 22 2008, 8:53 am
From: Mike Alsup <mal...@gmail.com>
Date: Wed, 22 Oct 2008 05:53:37 -0700 (PDT)
Local: Wed, Oct 22 2008 8:53 am
Subject: Re: BlockUI: oversized overlay bug in IE web browsers ( demo included )

> It's really up to BlockUI to address this. Ideally, a plugin should be
> designed to account for the most common environments in which it will
> operate. IE6 is still a major player with at least 20% (some say as
> high as 35%) market share among web users. I hate compensating for IE6
> as much as the next guy, but it's a necessary evil.

It seems this problem happens in IE7 as well (when running in
quirksmode).  Can you see if this fixes it for you:

http://www.malsup.com/jquery/block/jquery.blockUI.2.10b.js

Thanks.

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tallvanilla  
View profile  
 More options Oct 22 2008, 6:08 pm
From: tallvanilla <tallvani...@gmail.com>
Date: Wed, 22 Oct 2008 15:08:08 -0700 (PDT)
Local: Wed, Oct 22 2008 6:08 pm
Subject: Re: BlockUI: oversized overlay bug in IE web browsers ( demo included )
Hi Mike,

I don't see anything different in the file you pointed me to. Please
let me know what you changed, because it seems to be exactly the same
as the plugin I downloaded from the blockUI website!

JR

On Oct 22, 5:53 am, Mike Alsup <mal...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tallvanilla  
View profile  
 More options Oct 22 2008, 6:24 pm
From: tallvanilla <tallvani...@gmail.com>
Date: Wed, 22 Oct 2008 15:24:14 -0700 (PDT)
Local: Wed, Oct 22 2008 6:24 pm
Subject: Re: BlockUI: oversized overlay bug in IE web browsers ( demo included )
Oops! Nevermind. I found the line and updated it. It works as expected
in IE now:

http://74.205.76.81/blockuitest/

Thanks a bunch, Mike. Hopefully, blockUI's author will discover this
fix eventually.

JR

On Oct 22, 3:08 pm, tallvanilla <tallvani...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Josh Nathanson  
View profile  
 More options Oct 22 2008, 6:27 pm
From: "Josh Nathanson" <joshnathan...@gmail.com>
Date: Wed, 22 Oct 2008 15:27:06 -0700
Local: Wed, Oct 22 2008 6:27 pm
Subject: Re: [jQuery] Re: BlockUI: oversized overlay bug in IE web browsers ( demo included )

> Thanks a bunch, Mike. Hopefully, blockUI's author will discover this
> fix eventually.

It shouldn't take long, Mike *is* the author.

-- Josh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tallvanilla  
View profile  
 More options Oct 22 2008, 6:57 pm
From: tallvanilla <tallvani...@gmail.com>
Date: Wed, 22 Oct 2008 15:57:17 -0700 (PDT)
Local: Wed, Oct 22 2008 6:57 pm
Subject: Re: BlockUI: oversized overlay bug in IE web browsers ( demo included )
Oops! I'm an idiot, and I keep proving it. Thanks for correcting me,
Josh!

Mike... thanks again for the fix! Looking at your code, I see that you
only had to subtract 4 pixels from lyr1/lyr2 height if
$.boxModel==false. Works like a charm!

JR

On Oct 22, 3:27 pm, "Josh Nathanson" <joshnathan...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Alsup  
View profile  
 More options Oct 22 2008, 7:31 pm
From: Mike Alsup <mal...@gmail.com>
Date: Wed, 22 Oct 2008 16:31:57 -0700 (PDT)
Local: Wed, Oct 22 2008 7:31 pm
Subject: Re: BlockUI: oversized overlay bug in IE web browsers ( demo included )

> Mike... thanks again for the fix! Looking at your code, I see that you
> only had to subtract 4 pixels from lyr1/lyr2 height if
> $.boxModel==false. Works like a charm!

I really don't know why that is necessary, but I'm not one to argue
with success.  Thanks for the feedback.  I'll put that hack in the
next release.

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »