| Page 1 of 1 | [ 2 posts ] |
|
Hi
I am trying to use overlay and would like to fix its position to the centre of the screen including when the window is scrolled and resized. With yui2 I seen the fixedcenter property but cannot see an example of this in yui3, is it available or are there alternates? Thanks in advance |
|
Alex,
This can be accomplished through the `alignOn` attribute. Here's a working example using Y.Panel (which includes all of the features of Overlay, plus more): http://jsfiddle.net/ericf/T4tMW/ |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group