I have somewhat of a clue on how these things work the problem is I don't know HOW TO WRITE THEM :'(.
I need a very quick script...PLEASE!
Based on this script:
I need a way to put images on the page based on the coordinates.
Er, what exactly do you mean? That script is all well and good, but what do you want it to do!?
Say I had a page like that link which finds the coordinates of the entire page (starting with 0,0 at the top left corner of the screen).
I would like to put the image on the page through certain coorindates. For example say I have my name as an image. I use <img src> to put the image on the grid and it shows up in that spot.
Now if its possible can we make it easier on my part. Can we say in the HTML something like:
<img src="name.gif" height="200" width="200" coordinates="234,234">
Like all I have to do is use one line of string to put the image on.
Seems strange but my project requires it :D
use div tags with absolute positioning
still have no idea what your program does???
but try this
<img src="name.gif" height="200" width="200" style="position:absolute;top:255;left:255">
OMG THANK YOU! FINALLY!!!!!!! Thank you soo much I have been looking everywhere for that damned little thing and no one knows what the fudge im talking about. :D :D
Anyways now how would I be able to make it so that the CENTER of the image is used at the point to place on the script.
Right now its using the to left hand corner of the image to place on the coordinates of the map...
Well, it would take some smart code but yeah... I guess the question everyone is wondering is why... ;)
still not sure what this program does but the image would be something like this
<img src="name.gif" height="200" width="200" style="position:absolute;top:255-h;left:255-l">
where h = half the height and l = half the length
Thanks again for your help...
Jeremy I think you know what its for. :D :D
Once I am finished developing it I will unleash it to the web for everyone to see. Thank's for helping out.