I'm building a web application for a modified WRT-54G that takes available GPS position and puts it on a map image. I have already figured out the image, transforming my GPS information into coordinates for the image, getting the GPS information, etc...basically it is all done, but it has an odd behavior...
Whenever I update the position of my 'markers' on the screen, the page width changes. See example image/link combination below (links to the same page as on the router, but with a static GPS position file instead of a script to get a new position):
Click for Web-Version of WRT-54G Where-am-I
The behavior seems to be linked to having the cursor DIV inside of another DIV that has the map image. When the cursor is moved, something about the same size as the map DIV moves too and extends the window. But it only changes the width - it doesn't seem to influence the page height...
I don't know how to fix this behavior and would like to figure it out...if anyone has any suggestions, or can find websites that have any sort of similar code that I can reverse engineer it would be appreciated. See the comments in the above example page for websites that I used to help build it. Thank you.
Whenever I update the position of my 'markers' on the screen, the page width changes. See example image/link combination below (links to the same page as on the router, but with a static GPS position file instead of a script to get a new position):
Click for Web-Version of WRT-54G Where-am-I
The behavior seems to be linked to having the cursor DIV inside of another DIV that has the map image. When the cursor is moved, something about the same size as the map DIV moves too and extends the window. But it only changes the width - it doesn't seem to influence the page height...
I don't know how to fix this behavior and would like to figure it out...if anyone has any suggestions, or can find websites that have any sort of similar code that I can reverse engineer it would be appreciated. See the comments in the above example page for websites that I used to help build it. Thank you.