Can you help me with my image problem.Please!!

Discussion in 'JavaScript' started by rendyz, Dec 25, 2006.

  1. #1
    I had a project and i have a problem...
    These are my problems..
    I have an image with scrolling.. (using CSS style.. div style=overflow:scroll)
    when clicking on a coordinate on that image with scroll, when the page had refreshed I want to show the image focus on the coordinate that I have already click before..
    can you help me!!
    I have less than a week deadline!!
    Sorry i'm not good in English.. Bless You.
     
    rendyz, Dec 25, 2006 IP
  2. OWL_on_NG

    OWL_on_NG Active Member

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #2
    Do you need it to refresh?
     
    OWL_on_NG, Dec 28, 2006 IP
  3. rendyz

    rendyz Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes... When I click(refresh page) on an image (image with scrolling) on an certain coordinate, the page will be refresh and I need the image will focus on the last coordinate i clicked... Thanks..
    Can you help me?
     
    rendyz, Dec 31, 2006 IP
  4. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #4
    You could set a cookie with the coordinates.
     
    nico_swd, Jan 1, 2007 IP
  5. rendyz

    rendyz Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes.. I can set the cookie for the coordinate.. the problem is how i can focus on certain coordinate on the image (image with scrolling)...
    When the web page is refresh... the default is image will be showed on (0,0)..
    I dont know it will work with CSS or javascript...
    For example: if you have an image such as map image.. big resolution image, so i used scroll on image so the interface of the web is good enough.. when i clicked on a coordinate i want to show the image will be focus on the coordinate i had clicked before...
    CSS? or Javascript?
    thank you...
     
    rendyz, Jan 2, 2007 IP