Nope, ignored.
And it's pretty darn obviously why once I stepped through the code!
The author calls "center" on the layer containing the message:
function center(el) {
var p = el.parentNode, s = el.style;
var l = ((p.offsetWidth - el.offsetWidth)/2) - sz
(p,'borderLeftWidth');
var t
Try setting the 'centerY' property to false:
$.blockUI({
css: {top: '150px', width: '40%', padding: '2px', border: 'none'},
centerY: false
});
On Mar 6, 11:45 am, Chuck wrote:
> Hi,
>
> I'm passing to blockUI an array of options:
>
> {top: '150px', width: '40%', padding: '2px',
also, semi-colons ;)
On Mar 6, 4:48 pm, "ryan.j" wrote:
> make it !important
>
> or possibly even try a negative margin-top if all else fails.
>
> On Mar 6, 4:45 pm, Chuck wrote:
>
> > Hi,
>
> > I'm passing to blockUI an array of options:
>
> > {top: '150px', width: '40%', padding: '2px
make it !important
or possibly even try a negative margin-top if all else fails.
On Mar 6, 4:45 pm, Chuck wrote:
> Hi,
>
> I'm passing to blockUI an array of options:
>
> {top: '150px', width: '40%', padding: '2px', border: 'none'};
>
> And top appears to be completed ignored! The othe
4 matches
Mail list logo