SitePoint Sponsor

User Tag List

Results 1 to 10 of 10

Thread: Help...! :'(

  1. #1
    SitePoint Guru davedibiase's Avatar
    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!

  2. #2
    We like music. weirdbeardmt's Avatar
    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

  3. #3
    SitePoint Guru davedibiase's Avatar
    Join Date
    Aug 2001
    Location
    Toronto, Canada
    Posts
    829
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking ...

    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!

  4. #4
    SitePoint Guru davedibiase's Avatar
    Join Date
    Aug 2001
    Location
    Toronto, Canada
    Posts
    829
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy ...

    any ideas anyone?
    ||Dave Di Biase||
    ----------------------------------
    "There are 2 secrets in life. 1) Never say everything you know."
    GFXWARS - The ultimate graphics battle!

  5. #5
    SitePoint Evangelist
    Join Date
    Oct 2001
    Location
    Texas
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use div tags with absolute positioning

  6. #6
    SitePoint Evangelist
    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">

  7. #7
    SitePoint Guru davedibiase's Avatar
    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!

  8. #8
    SitePoint Wizard silver trophy Jeremy W.'s Avatar
    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...
    SVP Marketing, SoCast SRM
    Personal blog: Strategerize
    Twitter: @jeremywright

  9. #9
    SitePoint Evangelist
    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

  10. #10
    SitePoint Guru davedibiase's Avatar
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •