Well, I didn’t have much success in reply quanity when I posted a similar question
on the ‘javascript’ forum, so I guess I’ll try another approach to the CSS experts … ๐ฎ
To Anyone with more knowledge than me:
Is it possible to use CSS and the javascript onMouseOver function as follows?
1.
Display an image (jpg) under a mask of one uniform (black) color.
(Possibly using the ‘layers’ function in CSS element?)
OR
(Use two <DIV> tags and absolute position one on top of the other)
When the mouse moves over the masked image, a portion of
the underlying image is displayed, ie like looking through a
circular or square ‘keyhole’.
(Possibly using a XOR command in a scanning function)
OR
(Possibly using the transparent background style?)
In other words, can I position both the image and black mask to the same
position on the screen and somehow reveal the underlying image
by altering a portion of the mask?
3. Later, I would also like to know where the mouse is located (x,y)
while scanning the image through the keyhole, but I don’t initially need this.
I have seen this in ‘java’, but the source is not available for me to use.
Any thoughts on my problem or leads to a solution are appreciated.