I compute where to move my object server side for better control. I use that http://www.devpro.it/xmlsocket/ . I wanna use the browser only as client to visualize all elements.
On 12 Ян, 23:56, Balazs Endresz <balazs.endr...@gmail.com> wrote: > Server side animation? What application is that? :) > > I'd be really interested why would you do that, but I'd suggest > using .animate() for each coordinate you get from the server instead > of setting its height and width. And send coordinates less frequently > -- maybe just once and do the computation on the client. > > Also, maybe this will be helpful > too:http://groups.google.com/group/jquery-en/browse_thread/thread/51fe8e8... > > On Jan 12, 3:02 pm, meneldor <menel...@gmail.com> wrote: > > > Hi, group. > > Im trying to make animation using jquery, but its controlled server > > side using XMLSocket. When jQuery receive coordinates from server it > > moving my DIV across the browser but its too fast. I cant understand > > how to do smooth animation. My server script (perl) compute the same > > x,y coordinates like jquery (i saw how in jQuery core) but i dont know > > how jquery delay all these x and y coordinates properly to make > > animation smooth. Ill be happy if someone explain me how it works. > > Excuse me for my english. > > Best Regards!