You could use the dimensions plugin which extends the $().width() method to work on window and document.
$(window).width(); http://brandon.jquery.com/plugins/dimensions/ -- Brandon Aaron On 3/29/07, Kenneth Love <[EMAIL PROTECTED]> wrote: > Hey all, I'm needing to find the width of the window so I can find the > relative position of an element. Any help? > > Kenneth > > > -- > => the blog from beyond <= > => www.eyeheartzombies.com <= > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/