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. -- Jörn _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
