[jQuery] Re: adding a loading image to a mouse pointer

2008-03-04 Thread Michael Ray
inho, using CSS would be the better way On Tue, Mar 4, 2008 at 8:46 AM, jaredmellentine <[EMAIL PROTECTED]> wrote: > > You could always use CSS to set the cursor property to 'wait'. > > #myelement { > cursor: wait; > } > > Or use jQuery to set it > > $('#myelement').css('cursor', 'wait'); > > >

[jQuery] Re: adding a loading image to a mouse pointer

2008-03-04 Thread jaredmellentine
You could always use CSS to set the cursor property to 'wait'. #myelement { cursor: wait; } Or use jQuery to set it $('#myelement').css('cursor', 'wait'); On Mar 3, 7:32 am, ryszard99 <[EMAIL PROTECTED]> wrote: > hi there, > > i've just started doing jquery stuff and am interested in how i

[jQuery] Re: adding a loading image to a mouse pointer

2008-03-04 Thread Ryszard
kris, fantasitc, thanks for the quick reply, i'll try it out today. regs .r99 On 04/03/2008, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > Hi there, > > Do you want the loading image to follow the mouse as the mouse moves? > if so, you can set its top and left css properties on mousemove. >

[jQuery] Re: adding a loading image to a mouse pointer

2008-03-03 Thread Karl Swedberg
Hi there, Do you want the loading image to follow the mouse as the mouse moves? if so, you can set its top and left css properties on mousemove. Something like this: $('body').mousemove(function(event) { $('#loading-image').css({ top: (event.pageY + 10) + 'px', left: (event.pageX