View Full Version : Transparent iFrames...
iRoss
27-11-2004, 06:02 PM
Hey,
Does Anyone Know The HTML Code For A Transparent iFrame?!
Thanks!
Mentor
27-11-2004, 09:40 PM
Arnt they transparnt by defalt? or is that just in firefox?
Homesrfan
27-11-2004, 10:19 PM
must be just firefox
I donno but its really annoying becuase you must set the background for each page :P
Swiftey
28-11-2004, 04:50 PM
Somewhere in the code put :
<!--webbot bot="HTMLMarkup" startspan TAG="XBOT" --><IFRAME src="yourpage.htm" height="500" width="500"FRAMESPACING=0; NAME=main; FRAMEBORDER=0; SCROLLING=AUTO ALLOWTRANSPARENCY=TRUE STYLE="filter: chroma(COLOR=#ffffff);<font style="font-family:verdana color:#000000; font-size:10;"></b></font>
"></
><!--webbot bot="HTMLMarkup" endspan
-->
tularis
03-12-2004, 10:30 AM
At the end of the parameters add ALLOWTRANPARENCY=TRUE.
Example: <iframe src="content_home.html" width="400" height="200" frameborder="0" allowtransparency="true"></iframe>
In the source for the iframe, in the "head" tags add:
<style type="text/css">
body {background-color: transparent}
</style>
Example:
<html>
<head>
<title>Anything Here</title>
<style type="text/css">
body {background-color: transparent}
</style>
</head>
<body>
Body here
</body>
</html>
^There's an easier way but i've found that always works.
Hope that helps :)
x-a-x
07-12-2004, 04:53 PM
I have tried alll those codes and it won't work. Can anyone please help me? the site is habtoday.us.tt
THE NINJA
07-12-2004, 05:58 PM
Your iframe must allow transparency;
<iframe src="example.html" width="x" height="x" allowtransparency="true">
And now you need to make the file you wish to open in your iframe transparent. Apply this in the <head> tag:
<style type="text/CSS">
body {background: transparent;}
</style>
awesomedudesbro
07-08-2006, 03:43 PM
dunno it soz
GordonFreeman
07-08-2006, 03:44 PM
dunno it soz
OH BURN
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.