[jQuery] Re: blockUI: moving the message that blocks an element to the top
Thanks again Mike. I needed to change DOCTYPE tags in order to make it work appropriately. -Alan On Feb 20, 6:06 pm, Mike Alsup [EMAIL PROTECTED] wrote: Thanks Mike. You definitely provided a solution that should work. But the following code works if I modify your test page, but not in my page. It moves to the left, but not up. Anyone have ideas how to debug why IE7 is ignoring the top margin? -Alan $.blockUI.defaults.elementMessageCSS = $.extend({}, $.blockUI.defaults.elementMessageCSS); $.extend($.blockUI.defaults.elementMessageCSS, { margin: '-125px 0 0 -125px' }); $('#test').block(Loading, please wait...); Can you post a link?
[jQuery] Re: blockUI: moving the message that blocks an element to the top
I can't, it's an internal company app. I am going to try and isolate it today. If I can reproduce it in a static page, I will post it. Thanks, -Alan On Feb 20, 6:06 pm, Mike Alsup [EMAIL PROTECTED] wrote: Thanks Mike. You definitely provided a solution that should work. But the following code works if I modify your test page, but not in my page. It moves to the left, but not up. Anyone have ideas how to debug why IE7 is ignoring the top margin? -Alan $.blockUI.defaults.elementMessageCSS = $.extend({}, $.blockUI.defaults.elementMessageCSS); $.extend($.blockUI.defaults.elementMessageCSS, { margin: '-125px 0 0 -125px' }); $('#test').block(Loading, please wait...); Can you post a link?
[jQuery] Re: blockUI: moving the message that blocks an element to the top
Thanks Mike. You definitely provided a solution that should work. But the following code works if I modify your test page, but not in my page. It moves to the left, but not up. Anyone have ideas how to debug why IE7 is ignoring the top margin? -Alan $.blockUI.defaults.elementMessageCSS = $.extend({}, $.blockUI.defaults.elementMessageCSS); $.extend($.blockUI.defaults.elementMessageCSS, { margin: '-125px 0 0 -125px' }); $('#test').block(Loading, please wait...); On Feb 19, 8:08 pm, Mike Alsup [EMAIL PROTECTED] wrote: Hi Alan, Here's a page that shows how you can manipulate the blocking message: http://malsup.com/jquery/block/css2.html Mike On Feb 19, 2008 4:19 PM, Alan Fitzgerald [EMAIL PROTECTED] wrote: This shows the test centered in the div. I really need to get it placed at the top. $('#test').block(Loading, please wait...); I tried overriding several defaults, but did not have any luck. Thanks in advance, -Alan