Forum Moderators: travelin cat
For my webpage, i need a color through which i can view the background Text.i.e., a transparent color through which the background is visible.. Is it possible to get such a color on any browser through JavaScript? or is there any other option through which i can get the same effect
Now in my current implementation, when the user selects some part of the text, i draw a layer with some background color. I place that layer on the bottom of the text by setting its z-index value. i opted this coz if i place it on the top, the text will not be visible as it is covered by the colored layer. Now this gives me a problem when i need to highlight images or other graphics e.t.c., which appear along with the text. so if i can access a color through which the background text or images are visible, the problem will be solved.
As an alternate i tried with setting alpha values for colors using VML. it works fine but VML is not supported by all the browsers.so i ruled out this.
how can i perform this on MAC as IE on mac doesn't support transparency of colors
can some one help me out.....
-------Chaitanya.K
My current system has popup menus, and using the above-mentioned technique I've "faked" transparency. Quickest route.
Let us know if you find something better.
Max