On 9/16/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > limodou schrieb: > > I want to implement center() effect, but I don't know how to get the > > correct widht and height of the browser client. I googled and found > > that in (FF) I should use windows.innerHeight and window.innerWidth, > > but in msie I could use document.documentElement.clientWidth and > > document.documentElement.clientHeight. > > > There is the dimensions plugin: > http://jquery.com/dev/svn/jquery/src/dimensions/dimensions.js > And the center plugin: http://jquery.com/dev/svn/plugins/center/center.js > > Looks like the latter does not have any dependencies on the first, > therefore you have to see four your case what fits better. > Thanks, does these things could be included in the next release?
-- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
