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 = ((p.offsetHeight - el.offsetHeight)/2) - sz (p,'borderTopWidth'); s.left = l > 0 ? (l+'px') : '0'; s.top = t > 0 ? (t+'px') : '0'; }; That means it's not only ignoring a user supplied top, but its own blockUI.defaults.css.top. -= chuck On Mar 6, 1:49 pm, Mike Alsup <mal...@gmail.com> wrote: > 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 <kaspers...@gmail.com> 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 other options are used, > > but the message is consistently drawn centered vertically; no matter > > what I pass as the value for top. > > > Any thoughts? > > > thanks, > > jab- Hide quoted text - > > - Show quoted text -