SitePoint Sponsor |
|
User Tag List
Results 1 to 10 of 10
Thread: Help...! :'(
-
Mar 3, 2002, 17:02 #1
- Join Date
- Aug 2001
- Location
- Toronto, Canada
- Posts
- 829
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Help...! :'(
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:
http://javascript.internet.com/page-...e-tracker.html
I need a way to put images on the page based on the coordinates.
THANKS||Dave Di Biase||
----------------------------------
"There are 2 secrets in life. 1) Never say everything you know."
GFXWARS - The ultimate graphics battle!
-
Mar 3, 2002, 17:37 #2
- Join Date
- May 2001
- Location
- Channel Islands Girth: Footlong
- Posts
- 5,882
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Er, what exactly do you mean? That script is all well and good, but what do you want it to do!?
I swear to drunk I'm not God.
» Matt's debating is not a crime «
Hint: Don't buy a stupid dwarf ö Clicky
-
Mar 3, 2002, 21:28 #3
- Join Date
- Aug 2001
- Location
- Toronto, Canada
- Posts
- 829
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
...
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||Dave Di Biase||
----------------------------------
"There are 2 secrets in life. 1) Never say everything you know."
GFXWARS - The ultimate graphics battle!
-
Mar 4, 2002, 19:29 #4
- Join Date
- Aug 2001
- Location
- Toronto, Canada
- Posts
- 829
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
...
any ideas anyone?
||Dave Di Biase||
----------------------------------
"There are 2 secrets in life. 1) Never say everything you know."
GFXWARS - The ultimate graphics battle!
-
Mar 4, 2002, 19:44 #5
- Join Date
- Oct 2001
- Location
- Texas
- Posts
- 598
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
use div tags with absolute positioning
-
Mar 4, 2002, 19:50 #6
- Join Date
- Oct 2001
- Location
- Texas
- Posts
- 598
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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">
-
Mar 4, 2002, 20:45 #7
- Join Date
- Aug 2001
- Location
- Toronto, Canada
- Posts
- 829
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
...
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.
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...||Dave Di Biase||
----------------------------------
"There are 2 secrets in life. 1) Never say everything you know."
GFXWARS - The ultimate graphics battle!
-
Mar 4, 2002, 21:04 #8
- Join Date
- Jun 2001
- Location
- Toronto, Canada
- Posts
- 9,123
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Well, it would take some smart code but yeah... I guess the question everyone is wondering is why...
-
Mar 4, 2002, 21:43 #9
- Join Date
- Oct 2001
- Location
- Texas
- Posts
- 598
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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
-
Mar 6, 2002, 11:20 #10
- Join Date
- Aug 2001
- Location
- Toronto, Canada
- Posts
- 829
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
...
Thanks again for your help...
Jeremy I think you know what its for.
Once I am finished developing it I will unleash it to the web for everyone to see. Thank's for helping out.||Dave Di Biase||
----------------------------------
"There are 2 secrets in life. 1) Never say everything you know."
GFXWARS - The ultimate graphics battle!
Bookmarks