Topic: IFrame allowTransparency (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-27-2005 19:44
I have an IFrame that has content in it. This content will expand and contract in size. |
Paranoid (IV) Inmate From: Florida |
posted 07-27-2005 20:10
link or source code, please |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-27-2005 20:33
Kind of hard to do, this is all running through abouth 12 different pipelines. I think I can provide a testcase. code: <html> <head> <title>Test</title> <script type="text/javascript" src="WCH.js"></script> <script type="text/javascript" src="slider.js"></script> <style type="text/css"> #testDiv { position: absolute; top: 0; left: 0; background: black; width: 200px; height: 200px; z-index: 2; } #testFrame { position: absolute; top: 0; left: 0; width: 200px; height: 200px; z-index: 1; background: transparent; border: none; } </style> </head> <body> <p> <select> <option>Option 1</option> </select> </p> <div id="testDiv"> <p>Some data</p> </div> <iframe allowTransparency="true" id="testFrame"></iframe> </body> </html>
|
Paranoid (IV) Inmate From: Florida |
posted 07-27-2005 20:49
Sorry I guess I should've explained why I wanted the source - I don't understand why you need an iframe at all, ...or an iframe positioned over a select box. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-27-2005 20:57
I also had lots of questions like that, but it all boils down to thats just the way it is. |
Paranoid (IV) Inmate From: Florida |
posted 07-27-2005 21:55
So the problem is just that you don't want to see a selectbox in IE? |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-27-2005 22:22
The problem is that I do not want the selection box to show threw the iframe's opaque content when alltransparency="true". |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-27-2005 22:46
I got a solution from the Joe King's Blog. If you look under the section on "What about transparency?" there is a solution. I now have a second iframe following the first iframe with the filter applied. |
Bipolar (III) Inmate From: Sweden |
posted 08-09-2005 18:49
I've tried to use that kind of solution to cover a live video-feed (as described in a thread in the DHTML/JS section) to catch the onmousedown event over the <object> tag holding the feed. (It's set up for two-way communication between you and a miniature tank). However that seems futile since the background of the page is shown instead of the video wherever I position the iframe. I've even tried to contact Joe King about this problem but he's not replied... |
Bipolar (III) Inmate From: Australia |
posted 08-13-2005 01:50
How do you access the select item if there is a layer above it? doesnt this stop that. |
Bipolar (III) Inmate From: Sweden |
posted 08-16-2005 00:00
H][RO: Yes, the layers and iframes are only there when they need to, at other times you have free access to the selectbox. |
Bipolar (III) Inmate From: London |
posted 03-23-2009 18:23
quote:
|
Obsessive-Compulsive (I) Inmate From: |
posted 10-29-2009 17:53
Edit TP: Aggressive anti spam stance applied. |