- From: Morph Ex <morphex9@yahoo.com>
- Date: Sat, 7 Mar 2009 14:02:18 -0800 (PST)
- To: www-svg@w3.org
Greetings, I have a suggestion for a new svg feature and would like to get a few opinions on whether it would even be possible. I've recently been looking for a way to display different backgrounds/elements through different transparent areas of svg and png images. As an example, imagine that you have a svg image containing 3 different transparent areas. This image is going to be positioned on top of multiple elements in a web page. Let's say that it's displayed on top of a div element which is on top of another div element which is on top of the body element. Each of those elements contain a different background and a different z-index value. Would it be possible to assign a z-index value to each transparent area in the image? That way the transparent area would display the element located behind the image at the specified z-index value. If no element was found behind the image at that z-index then the transparent area would simply revert to the default behavior. Currently the transparent areas in an image will only display the element directly behind them. By adding this feature you could have multiple elements stacked on top of each other and display a different one in each transparent area of the image. Would this feature be possible in svg? If it is possible then how or where can I suggest that it be implemented in a future svg specification? Example: http://img291.imageshack.us/img291/3905/example.png All the best, morphex
Received on Sunday, 8 March 2009 18:25:02 UTC