From: Arijit D. <ad...@pr...> - 2003-11-24 19:04:37
|
IE doesn't consider a layer to 'be there' unless there's content on it, as far as I have seen. A simple work-around would be to place a clear, 1 pixel by 1 pixel image, in the cover layer and stretch it to the layers width and height. Hope that helps... Arijit Jesse Vitrone wrote: > I'm not sure if this is really on topic, but you guys know the most > about this stuff, so I thought you might be able to help out. > > I have layer A, which has an iframe on it. I don't want people to be > able to click on the website in the iframe at certain times, so I need > to make a clear cover layer over it. To do this, I added layer B as a > child of A, and it covers it completely. > > In Mozilla - works great, you can see the page in the iframe, but > nothing is clickable. > > Here's the problem: > In IE - if I make the cover layer a color, then I only see the color, > and I can't click anything that it's covering, even when I click where a > link would normally be on the page below, so far so good. But when I > change the color of the cover layer to "transparent", then it's like > it's not there. I can click right through it to the page below. > > Any ideas how to make a clear cover layer in IE? Or is there someway to > make an iframe "view only" ? > > Thanks in advance for the suggestions, > Jesse > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > |