have you tried
var s = document.getElementById(idname).style;
s.left = newleft + 'px';
s.top = newtop + 'px';

??

On Aug 2, 2007, at 7:37 PM, D. Rich wrote:

>
> For a game, there is going to be multiple moving images on the screen.
>
> I am trying to find the fastest and most efficient way to move these
> images.
> Most of the implementations that are found on the web are fine on a
> computer but slow on the iPhone. For example:
>
> document.getElementById(idname).style.left = newleft + 'px';
> document.getElementById(idname).style.top = newtop + 'px';
>
> Anyone know any tricks?
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to