Old 08-29-2006   #1 (permalink)
Registered User
 
Lauranne's Avatar
 
Join Date: Aug 2006
Posts: 68

TRANSPARENT iframe!

I got a [hudge] problem...
I was wondering how to make a transparent iFRAME!
I search some tut's and made the next page to try it out!


http://www.freewebs.com/forbiddencodes/

Ok... It was not transparent!
So i try another code... even wrong!

I was thinking, maybe i should make the page in the iFRAME with a transparent background but it don't work! WHAT NOW?

CODE

<HTML><HEAD>

<body bgcolor="transparent">


<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY><IMG height=477 src="http://img174.imageshack.us/img174/3904/layout4ii0.png" width=540 border=0>
<DIV style="Z-INDEX: 2; LEFT: 232px; WIDTH: 351px; POSITION: absolute; TOP: 83px; HEIGHT: 357px">

<iframe name="FRAMENAME" src="http://www.freewebs.com/forbiddencodes/Main.htm" width="290" height="349" style="border: 0 solid #0415FB" scrolling="yes" allowautotransparency=true></iframe>



</DIV>
<DIV style="Z-INDEX: 2; LEFT: 35px; WIDTH: 138px; POSITION: absolute; TOP: 75px; HEIGHT: 365px">Je vak!</DIV><!-- --><script type="text/javascript" src="/i.js"></script></BODY></HTML>



I know, i work sometimes with DIV..

PS: Its for the right colom where stands in Dit is de main pagina

Dit is de main pagina


PLEASE HELP ME OUT!
__________________
I like making website and graphics... You?
I'm just a girl 12 years old, so sorry for my Englisch..

Lauranne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-30-2006   #2 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 43

1- dont open body tag before closing head,
2- dont write meta tag after opening body
3- dont open second body while you already have opened once
4- dont upload your background images in any other hosting service

you have a lot of mistakes, you should study html and css little bit before starting to make a website for yourself, but still so good work for a person who is 12 years old

here is the right code, use below one
Code:
<HTML><HEAD>
<style>
body {
   background: url(http://img174.imageshack.us/img174/3904/layout4ii0.png) top left no-repeat;
   margin: 0;
   padding: 0;
}

#header {
   position: relative;
   left:240px;
   top:100px; 
   height: 340px;
   width: 260px;
   text-align: left;
   padding: 5px;
   overflow: scroll;
   color: #fff;
   font: 0.75em verdana;
}
</style>

</HEAD>
<BODY>

<div id="header">
	this is a text message


</div>


</BODY></HTML>

Last edited by metsatöll; 08-30-2006 at 01:32 PM.
metsatöll is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-31-2006   #3 (permalink)
A$s On Fiyah
 
ecntrc's Avatar
 
Join Date: May 2005
Location: Ewa Beach, Hawaii
Posts: 601

Send a message via Yahoo to ecntrc
I know he gave you CSS code but you forgot to put the " 's for your allowtransparency tag. I tried looking on my site because my iframe is transparent but I think I did a slice tut and that took out the background color.. but I cant see a transparency code on my personal site, but maybe you want to use mesatoll's code.. CSS is alot better code to use.. makes things easier.. and dont worry I was once a beginner... good luck
__________________
google is my lover, whos yours?
ecntrc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-31-2006   #4 (permalink)
Registered User
 
Lauranne's Avatar
 
Join Date: Aug 2006
Posts: 68

Quote:
Originally Posted by metsatöll View Post
1- dont open body tag before closing head,
2- dont write meta tag after opening body
3- dont open second body while you already have opened once
4- dont upload your background images in any other hosting service

you have a lot of mistakes, you should study html and css little bit before starting to make a website for yourself, but still so good work for a person who is 12 years old

here is the right code, use below one
Code:
<HTML><HEAD>
<style>
body {
   background: url(http://img174.imageshack.us/img174/3904/layout4ii0.png) top left no-repeat;
   margin: 0;
   padding: 0;
}

#header {
   position: relative;
   left:240px;
   top:100px; 
   height: 340px;
   width: 260px;
   text-align: left;
   padding: 5px;
   overflow: scroll;
   color: #fff;
   font: 0.75em verdana;
}
</style>

</HEAD>
<BODY>

<div id="header">
	this is a text message


</div>


</BODY></HTML>




Sorry for the "wrong code" but it was quick....
And, you gave me not a frame code but a div table...
or something... I'm searching for anotther code but
thanx for the tips!
__________________
I like making website and graphics... You?
I'm just a girl 12 years old, so sorry for my Englisch..

Lauranne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-31-2006   #5 (permalink)
Registered User
 
Lauranne's Avatar
 
Join Date: Aug 2006
Posts: 68

Quote:
Originally Posted by ecntrc View Post
I know he gave you CSS code but you forgot to put the " 's for your allowtransparency tag. I tried looking on my site because my iframe is transparent but I think I did a slice tut and that took out the background color.. but I cant see a transparency code on my personal site, but maybe you want to use mesatoll's code.. CSS is alot better code to use.. makes things easier.. and dont worry I was once a beginner... good luck

kk... but what should this code going to be, or what is the transparent iFRAME code, i really will work with it!
__________________
I like making website and graphics... You?
I'm just a girl 12 years old, so sorry for my Englisch..

Lauranne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09-01-2006   #6 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 43

Quote:
Originally Posted by Lauranne View Post
Sorry for the "wrong code" but it was quick....
And, you gave me not a frame code but a div table...
or something... I'm searching for anotther code but
thanx for the tips!
I think there is not any difference between css div frame and iframe by visual way, but a lot difference by coding.

1. to code by css always much better since it is always on the topper list of search engines
2. iframe is not accessible and it is strongly not recomended to use by w3c(web standarts consortium)
metsatöll is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09-01-2006   #7 (permalink)
Registered User
 
Lauranne's Avatar
 
Join Date: Aug 2006
Posts: 68

Quote:
Originally Posted by metsatöll View Post
I think there is not any difference between css div frame and iframe by visual way, but a lot difference by coding.

1. to code by css always much better since it is always on the topper list of search engines
2. iframe is not accessible and it is strongly not recomended to use by w3c(web standarts consortium)

Yes, but the problem is...
I need to have a link, and when i click on in, it has
to be in the frame! You can't do that in DIV!
Only if you make "links in the scroll"
__________________
I like making website and graphics... You?
I'm just a girl 12 years old, so sorry for my Englisch..

Lauranne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09-01-2006   #8 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 43

Quote:
Originally Posted by Lauranne View Post
Yes, but the problem is...
I need to have a link, and when i click on in, it has
to be in the frame! You can't do that in DIV!
Only if you make "links in the scroll"
then all situation changes
do you want that some pictures will be appear in iframe or some text only?
and how many links you ll have
metsatöll is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09-03-2006   #9 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 43

Sorry

I dont know why, but I always thought that I had also posted answer of your (transparant iframe) question. But just now I saw that I havent'

Here is the answer of your question

Code:
<IFRAME NAME="Frame1" SRC="frame.htm" ALLOWTRANSPARENCY="true">
and in body tag of frame1.htm file (which file would be included)
Code:
<BODY  STYLE="background-color:transparent">

Last edited by metsatöll; 09-03-2006 at 11:37 PM.
metsatöll is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iframe in Firefox vs. Iframe in IE/Opera... Transparen problems... AnachroNia HTML / PHP / ASP / JS 5 11-29-2005 10:40 PM
iframe history.back() Uncle Ghed HTML / PHP / ASP / JS 4 06-27-2005 04:48 PM
Iframe and Expandable Content Boxes are evil ! ViciOuS HTML / PHP / ASP / JS 7 05-22-2005 07:32 AM
linking to an iframe doubled HTML / PHP / ASP / JS 3 08-01-2004 12:28 AM
horizontal scrollbar in iframe problems julio7 HTML / PHP / ASP / JS 2 04-28-2004 06:36 PM


All times are GMT +1. The time now is 11:48 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT