0 members and 374 guests
No Members online
» Site Navigation
» Stats
Members: 35,443
Threads: 103,072
Posts: 826,684
Top Poster: cc.RadillacVIII (7,429)
|
-
Even though Alot of people dont like them, I do lol It's mostly what I use to make my websites. You can have as many iframes as you want.
Code:
<iframe src="yourpage.html" name="NAME"> </iframe>
If you want to make it a certain width or height use the following:
Code:
<iframe src="yourpage.html" name="NAME" height="100" width="100"> </iframe>
If you want an IFrame to appear in another frame use the following:
Code:
<iframe src="yourpage.html" name="NAME" target="NAME">
Naming the IFrame is an easy way to target your pages. the one above would appear in the same frame. You can always change name of the target. but make sure you have an iFrame with that name.
*Edit is below this.
if you want a transparent iFrame use the following:
Code:
<iframe src="yourpage.html" name="NAME" target="NAME" allowtransparency="true" background-color="transparent"> </iframe>
on every source page you must include the following:
Code:
<style type="text/css">
body {background-color: transparent}
</style>
-
Good code. The only thing is, those are really annoying. You have to have CSS on every page (unless you link a CSS doc to the site, much easier). It gets annoying after a while. Tables work fine.
-
Great submission. Although people who use iframes - beware: googlebot will avoid iframes at all costs!
-
I personally like iFrames. I just use them for the content box, so its not like I over-use them. Although I just use this code:
Code:
<iframe *allowtransparency="true" background-color="transparent" src="frames/home.htm" width="100%" height="99%" border="0" frameborder="0" framespacing="0"></iframe>
Thats it, I don't even touch anything else.
-
I'd suggest against it - mainly because googlebot will not index the content of your site. I'd use IFRAMES if I couldnt use PHP includes.
-
Also keep in mind that iframes aren't supported in Netscape Navigator before NN6.
dmeister
-
IFRAMES aren't supported by every browser out there.
you can simulate an iframe in CSS, but making a <div> have an "overflow" setting of "auto", and then set the specific height. it's not a frame, but it acts like one, and it's all part of the same page.
-
Originally posted by watchyouburn@Mar 3 2005, 02:11 PM
you can simulate an iframe in CSS, but making a <div> have an "overflow" setting of "auto", and then set the specific height. it's not a frame, but it acts like one, and it's all part of the same page.
But (at least by itself) this doesn't allow you to load in another HTML page, which is the real benefit to Iframes.
dmeister
Similar Threads
-
By Nightfire in forum Digital Art
Replies: 4
Last Post: 06-13-2006, 07:11 AM
-
By Relentless in forum Other Tutorials
Replies: 7
Last Post: 09-05-2005, 09:17 PM
-
By Nadroj~ in forum The Void
Replies: 10
Last Post: 06-13-2005, 07:03 PM
-
By Invision in forum The Void
Replies: 3
Last Post: 04-25-2005, 08:06 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|