Currently, I am in the process of developing an app that utilizes percentages as offset positions for ease of calculation.
For a visual example, you can visit this link: http://jsfiddle.net/WeC9q/1/embedded/result/
Although the zooming feature functions properly across all supported browsers, the arrow buttons intended to move the car are not working as expected.
After careful analysis, it was found that the Position(element);
function only returns percentages in WebKit browsers (Safari, Chrome), while other browsers return calculated pixel values.
Since the movement functions heavily rely on percentages, pixel values are not suitable for the task.
Is there any way to continue using percentages, or should I create complex conversion scripts to solve the issue?
Thank you for your assistance!