2eXtreme
05-13-2008, 01:01 AM
Hey Guys
This is my first post here, so forgive me if it's not up to regular posting standards!
In my current situation, I have a web page gallery, with about 100 images. The 100 images are on display all at once. None of the images have id tags, a typical img tag is simply as follows:
<img src="testpicname.jpg">
That's as detailed as the tags get!
So I want my users to be able to roll over an image, and when they do, I want my logo to appear as a 20 x 20 overlay in the centre of the picture, which can then be clicked by users and this will then display information about the picture.
So I'm guessing what I need to have is:
A way to identify any image on the page and assign an event handler to it so that an overlay is displayed when the user rolls over an image
An overlay image with an event handler assigned to it so that an alert box will appear when the overlay is clicked
Can anyone tell me if this is possible at all? And if it isn't too much bother, could they give me some help/links on how to go about doing it?
Thanks very much for any help!
:D
This is my first post here, so forgive me if it's not up to regular posting standards!
In my current situation, I have a web page gallery, with about 100 images. The 100 images are on display all at once. None of the images have id tags, a typical img tag is simply as follows:
<img src="testpicname.jpg">
That's as detailed as the tags get!
So I want my users to be able to roll over an image, and when they do, I want my logo to appear as a 20 x 20 overlay in the centre of the picture, which can then be clicked by users and this will then display information about the picture.
So I'm guessing what I need to have is:
A way to identify any image on the page and assign an event handler to it so that an overlay is displayed when the user rolls over an image
An overlay image with an event handler assigned to it so that an alert box will appear when the overlay is clicked
Can anyone tell me if this is possible at all? And if it isn't too much bother, could they give me some help/links on how to go about doing it?
Thanks very much for any help!
:D