[jQuery] Re: Calling a user-defined function

2009-10-20 Thread Giovanni Battista Lenoci
cachobong ha scritto: How do i use a function like this? $.clientCoords = function() { var dimensions = {width: 0, height: 0}; if (document.documentElement) { dimensions.width = document.documentElement.offsetWidth; dimensions.height

[jQuery] Re: Calling a user-defined function

2009-10-20 Thread Cacho Menguito
Thanks! :) On Tue, Oct 20, 2009 at 3:02 PM, Giovanni Battista Lenoci gian...@gmail.com wrote: cachobong ha scritto: How do i use a function like this? $.clientCoords = function() { var dimensions = {width: 0, height: 0}; if (document.documentElement) {