Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. M

    JavaScript How do I modify my code to operate with multiple tags with the same id?

    Sure, when my pointer is in one position (current set of coords) when user clicks on another system, the pointer should CSS animate to the selected coords, initially when the page loads i have the following css to check its working. #pointer { position: absolute; top: 0; left: 0...
  2. M

    JavaScript How do I modify my code to operate with multiple tags with the same id?

    Thanks Randell, that works a treat, however, I have a CSS ease transition when pointer first apprears (slides to initial coords) is there a way to modify the code so that the pointer 'eases' from point to point?
  3. M

    JavaScript How do I modify my code to operate with multiple tags with the same id?

    Thanks for your reply Johna, I remove the 'id' tags from the list and changed the script to point at the class but all links move the graphic to the first set of coords, would you know if its possible to read data-id from the link using jQuery? or pass the values of ix and iy thru to the Jquery...
  4. M

    JavaScript How do I modify my code to operate with multiple tags with the same id?

    <style> .mapcontent { position: relative; z-index: 10; width: 400px; height: 400px; overflow:hidden; background-image: url(stars.jpg); } #pointer { position: absolute; top: 0; left: 0; width: 30px; height: 30px; background-image...
Back
Top Bottom