shapper
03-18-2006, 10:50 PM
Hello,
I am starting to use javascript and I need to create something simple.
I have an image on my page. I need to show a div with its contents when the image is clicked. The div must float on my web site 50px over and 10px right to the image position. Inside the div i must have a link to close it.
If i could have some fade in and fade out on the div that would be great but this is not important.
I have been looking for such an example but i can't find it. I am probably looking in the wrong places since this is so common.
Could someone please help me?
Thank You Very Much,
Miguel
I am starting to use javascript and I need to create something simple.
I have an image on my page. I need to show a div with its contents when the image is clicked. The div must float on my web site 50px over and 10px right to the image position. Inside the div i must have a link to close it.
If i could have some fade in and fade out on the div that would be great but this is not important.
I have been looking for such an example but i can't find it. I am probably looking in the wrong places since this is so common.
Could someone please help me?
Thank You Very Much,
Miguel