Results 1 to 1 of 1

Thread: Javascript gif images question

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2005
    Posts
    72

    Javascript gif images question

    Hi guys.

    I've 2 images in a normal page, each image has a transparent Bacground.

    The first Image.


    The Second Image.


    And this is how they look like in the page.



    the user can drag both of the images anywhere in the page.
    I've problem in calling an event when both images cross each other because the images border are irregular shape.


    I tried to do that by checking the position of each image, but that doesn't work accurately, because the code will call the event in case of the two images cross in the transparent background too..

    I want a code that call the event when the two images cross just in the real border.

    Last edited by ayman_rapper; Nov 26th, 2008 at 01:38 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width