Forum Moderators: not2easy

Message Too Old, No Replies

displaying effects on top of an image

         

davidklonski

10:45 am on Jun 23, 2004 (gmt 0)

10+ Year Member



Hi

I have an image and I would like to display effects on top of it.
I place an absolutely positioned div somewhere on the image, giving it the following attributes:
* left
* top
* width
* height
* z-index

I would like to make the portion of the image just below the div a bit more bright. Is that possible?

I am using IE 6.0
thanks

benihana

12:10 pm on Jun 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i think the easiest way would probably be to just lighten up the bottom of the image with a grphics program..

ben

davidklonski

1:18 pm on Jun 23, 2004 (gmt 0)

10+ Year Member



this is not possible due to a system requirement.
The reason is that different regions of the image should be highlighted according to dynamic rules.

Rambo Tribble

1:31 pm on Jun 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



While IE provides filters that would probably accomplish something like what you want, you would still need to slice your image in order to get the filter to work on just a portion of the image, I believe. That being the case, a more universal solution would be to slice the image, then produce a brighter version of the sliced component you want to highlight and use JavaScript to swap the target portions in and out.

Another possibility is to use a .gif image with, say, one out of four pixels white (or light yellow) and the other three transparent. Overlay a portion of the image with the .gif and it will appear to have brightened.

JayCee

5:35 am on Jun 26, 2004 (gmt 0)

10+ Year Member



Sounds like a job for Flash or SwishMax.