OZONE Asylum
Forums
Stupid Basic HTML
IFrame allowTransparency
This page's ID:
26334
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Kind of hard to do, this is all running through abouth 12 different pipelines. I think I can provide a testcase. I am thinking dynamically resizing the iframe based on the height of the scr content. Should be a fun little hack. [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>[/code] See how the select shows through. If you remove the allowTransparency it doesn't show through anymore. (IE only). Now, in the real example there would be only a small subsection of the ifram with content to be displayed, the rest would be transparent. I am thinking that a dynamic resize might be the best option here. Dan @ [url=http://www.codetown.org]Code Town[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »