PDA

View Full Version : iframe


Terminator
11-26-2004, 04:16 AM
i have been in to web programming for quite some time. But iframe is a new concept for me. Please throw some light in to the subject.

688206002
11-26-2004, 04:20 AM
Iframes are frames but to use them you don't have to divide up your page into a frameset; they can be embedded (like a lot of other things) on a page. It's kinda like a div with overflow:auto in a way :P

Some more info:
http://www.w3schools.com/tags/tag_iframe.asp

Terminator
11-26-2004, 04:26 AM
Then... Is it still as disadvantageous as frames? Or has it been introduced to overcome frame's disadvantages?

688206002
11-26-2004, 04:32 AM
Originally posted by Terminator@Nov 25 2004, 11:26 PM
Then... Is it still as disadvantageous as frames? Or has it been introduced to overcome frame's disadvantages?
13190


It can come in handy but I personally don't see why not just use divs... if you need to incorporate another page, there's also the possibility of using include (which is what I do all the time).

One thing about iframes is that unlike frames, the page is pretty much treated as an object on the page. It does, however, allow search engines to index just those pages that are displayed in the iframe though (same as frames).

EDIT:
Forgot to mention that iframes are not resizable, as opposed to frames (well... frames can be made unresizable... but there's no way you can resize an iframe period)

Terminator
11-26-2004, 04:38 AM
Then i am not gonna use iframes. I will stick on to div. Search engine is one of my major concerns.

688206002
11-26-2004, 04:42 AM
Originally posted by Terminator@Nov 25 2004, 11:38 PM
Then i am not gonna use iframes. I will stick on to div. Search engine is one of my major concerns.
13193


Wise choice, Termy :P

isaac
11-26-2004, 04:55 AM
The only reason I will use iframe, and of which the only advantage it has over DIV that I can see, is when I want only a particular thing (like a poll) to refresh but not the whole page. Of coz if you know httprequest, that would be better (but of coz I do not know :lol: ). iframe does not strecthes itself when your content is longer than the frame, one big handicap!

EDIT: Includes are always great! But since my previous hosting did not support SSI or any other goodies like B) HM B) does, I used iframe sometimes to call outside content.

shwaza
11-28-2004, 10:50 AM
I use one iframe on my site, just so i can get my phpbb forum into my regular layout, but i also just added a view in full screen option. I personally think that iframes are great, except that i just read the google thing about ur site gettin on google, and they said that they dont like frames. i dunno if thats iframes or just frames though...

688206002
11-28-2004, 05:43 PM
Originally posted by shwaza@Nov 28 2004, 05:50 AM
I use one iframe on my site, just so i can get my phpbb forum into my regular layout, but i also just added a view in full screen option. I personally think that iframes are great, except that i just read the google thing about ur site gettin on google, and they said that they dont like frames. i dunno if thats iframes or just frames though...
13638


Yah they'd frown on iframes just as much frames because of the indexing problem mentioned above.

shwaza
11-28-2004, 07:20 PM
Oh well, that site won't be up for too much longer, i just gotta get my flash site done:P

iecep
11-29-2004, 03:18 AM
huh?! Unresizable? I dunno' but I ahve been inserting iframes in my site for a quite a number of times and I always do resize them check out my homepage I used an iframe for my main frame...

Cyberkamote designs (http://betchay.net/cyberkamote22/) :)

688206002
11-29-2004, 03:42 AM
Originally posted by iecep@Nov 28 2004, 10:18 PM
huh?! Unresizable? I dunno' but I ahve been inserting iframes in my site for a quite a number of times and I always do resize them check out my homepage I used an iframe for my main frame...

Cyberkamote designs (http://betchay.net/cyberkamote22/) :)
13924


Unresizable by viewers... of course you can resize them in the code; you can do anything you want to anything in the code :P

favikah
12-08-2004, 01:45 AM
I am addicted to iframe..lol I just love them, it makes your website so easy and neat to maneuver. You can add everything in your site to open in an iframe..I just love it! :D

EnderX
12-08-2004, 02:23 AM
I use an iframe on my website (Extrace Designs (http://extrace.hostmatrix.org)) because I just found out abou them recently. I'm not sure how to use divs or includes, but I will look into that tomorrow (since it's so late). I'm a pretty big fan of frames actually.. I don't really worry about indexing my pages.. I just love the neatness of a site with frames.. but only if they are done right ;) Like mine :D

688206002
12-08-2004, 11:10 PM
Originally posted by EnderX@Dec 7 2004, 09:23 PM
I use an iframe on my website (Extrace Designs (http://extrace.hostmatrix.org)) because I just found out abou them recently. I'm not sure how to use divs or includes, but I will look into that tomorrow (since it's so late). I'm a pretty big fan of frames actually.. I don't really worry about indexing my pages.. I just love the neatness of a site with frames.. but only if they are done right ;) Like mine :D
16143


Well, if you'd like, I could give you some tips :) I've finally gotten those huge projects outta the way so I should be more active again :)

shwaza
12-08-2004, 11:16 PM
Originally posted by 688206002@Dec 8 2004, 09:10 PM
Well, if you'd like, I could give you some tips :) I've finally gotten those huge projects outta the way so I should be more active again :)
16382



oh thank god lol i need someone to explain every word of php for dummies to be

Note: php for dummies may or may not exsist, i can not be held responsible for misleading information lol

688206002
12-09-2004, 12:42 AM
Originally posted by shwaza@Dec 8 2004, 06:16 PM
oh thank god lol i need someone to explain every word of php for dummies to be

Note: php for dummies may or may not exsist, i can not be held responsible for misleading information lol
16386


Oh, I was responding to EnderX's comment about divs actually... :P But if you need help with PHP, PM me :)

EnderX
12-09-2004, 01:43 AM
I would gladly take any lessons on divs from you (and anything else you happen to offer).. maybe you could make an online course ;)

reid315
12-09-2004, 02:07 AM
you can learn css right here. so much to leearn, so little to code!

lol i'm a web-standards conformist, and accessibility is a major of mine. I personally dont like iframes because there are still people that canot support frames. not that i will refrain from using them forever :P