Go to Post FIRST is an organization that teaches students that smart is cool. - Warren Boudreau [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-10-2004, 15:40
iBob's Avatar
iBob iBob is offline
Extreme Mac Geek
AKA: Christopher Jones
#0240 (Mach Vee)
Team Role: Webmaster
 
Join Date: Apr 2002
Location: Monroe Michigan
Posts: 83
iBob is an unknown quantity at this point
Send a message via AIM to iBob Send a message via Yahoo to iBob
iframes

In regards to iframes: Why would they be a good thing and why would they be bad? I'd just like to get a general feel for what your opinions on them may be.
__________________
Visit Team 240's Homepage
  #2   Spotlight this post!  
Unread 21-10-2004, 16:21
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
Re: iframes

Well,

There is really no "correct" answer to your question. It is true that iframes are not as widely supported by different web browsers, and are more likely to be displayed differently in different browsers, this being the reason why some hate them with passion. Yet, if you test your site is a few major browsers and they appear to display fine, then I see no problem.

When used correctly, an iframe can add an extreme amount of functionality to a website that would be hard to achieve through other means. That being said, often I see iframes abused. Personally, I rarely use iframes, however a few weeks ago I was working on a project, and using iframes made the site much more fluid and user friendly. I’m sorry but I really don’t have an example of a good looking iframe vs a bad one.

In the end, it all comes down to what you think looks best. Try a site with them, then without and see what the pros and cons of each are.

Lastly, I should mention that often search engines do not handle frames well at all, and therefore if it is important that the content inside the iframe is spidered, that factor may influence your decision against them.

Sorry I’ve rambled a lot, but I hope this helps you somewhat.

Jack
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**

Last edited by Jack : 21-10-2004 at 23:00.
  #3   Spotlight this post!  
Unread 21-10-2004, 16:22
Matt Attallah's Avatar
Matt Attallah Matt Attallah is offline
Now at sub 14's in a 5000lb vehicle
AKA: Maher Attallah
FRC #0005 (Robocards)
Team Role: Alumni
 
Join Date: Sep 2001
Rookie Year: 2000
Location: Detroit area, Michigan
Posts: 1,660
Matt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond repute
Send a message via AIM to Matt Attallah Send a message via MSN to Matt Attallah Send a message via Yahoo to Matt Attallah
Re: iframes

Heh.

The Robocard's web page uses IFrames. Easy to use and very easy to navigate around with it...

http://www.robocards.org

I like I-Frames - but older browsers don't like them and if I rember correctly they are not W3C compliant (something of that such)
__________________
That rug really tied the room together...
  #4   Spotlight this post!  
Unread 21-10-2004, 16:25
Greg Marra's Avatar Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
no team (The Blue Alliance)
Team Role: RoboCoach
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: iframes

Quote:
Originally Posted by Matt Attallah
Heh.

The Robocard's web page uses IFrames. Easy to use and very easy to navigate around with it...

http://www.robocards.org

I like I-Frames - but older browsers don't like them and if I rember correctly they are not W3C compliant (something of that such)
See, the thing is, what functionality does that iframe add to that page? What would be worse about just putting the contents of that iframe inline in its own div or something? iframes do allow you to switch pages without reloading the entire page, but they also are kind of messy and interfere when I scroll with a mousewheel. I think that they're ok if used correctly, but for the most part I would try to do as much inline as possible.
  #5   Spotlight this post!  
Unread 21-10-2004, 16:27
Matt Attallah's Avatar
Matt Attallah Matt Attallah is offline
Now at sub 14's in a 5000lb vehicle
AKA: Maher Attallah
FRC #0005 (Robocards)
Team Role: Alumni
 
Join Date: Sep 2001
Rookie Year: 2000
Location: Detroit area, Michigan
Posts: 1,660
Matt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond repute
Send a message via AIM to Matt Attallah Send a message via MSN to Matt Attallah Send a message via Yahoo to Matt Attallah
Re: iframes

Quote:
Originally Posted by Greg Marra
See, the thing is, what functionality does that iframe add to that page? What would be worse about just putting the contents of that iframe inline in its own div or something? iframes do allow you to switch pages without reloading the entire page, but they also are kind of messy and interfere when I scroll with a mousewheel. I think that they're ok if used correctly, but for the most part I would try to do as much inline as possible.
That's the one downfall.

When this page was implemented it was at a fixed pixel. No resizing, no nothing.

If you mess with it you can get it to where everything tries to stay inside the main window it'll all work - but i will admit you are pretty much stuck with the size.

It was planned for people with larger resolutions running IE...
__________________
That rug really tied the room together...
  #6   Spotlight this post!  
Unread 21-10-2004, 16:33
Greg Marra's Avatar Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
no team (The Blue Alliance)
Team Role: RoboCoach
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: iframes

Quote:
Originally Posted by Matt Attallah
That's the one downfall.

When this page was implemented it was at a fixed pixel. No resizing, no nothing.

If you mess with it you can get it to where everything tries to stay inside the main window it'll all work - but i will admit you are pretty much stuck with the size.

It was planned for people with larger resolutions running IE...
I'm 1024x768 in Firefox.

The iframe displays wayy down at the bottom, not next to the links where I think it should.

Why not keep it at fixed width then? There's no need to make a page resize to the user's browser, plenty of sites don't. Look at yahoo.com or google.
  #7   Spotlight this post!  
Unread 21-10-2004, 17:38
MrToast's Avatar
MrToast MrToast is offline
I named Greg Needel's cat!
AKA: Dave DeLong
no team (Rhode Warriors)
Team Role: Alumni
 
Join Date: Mar 2004
Rookie Year: 2004
Location: RI, now UT
Posts: 326
MrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud of
Send a message via AIM to MrToast
Re: iframes

The main thing I've found iframes good for is if your server doesn't support server side includes, or if you want to continuously refresh an included page.

For example, on my website, I had a little #include that showed a live stock price. But, it's written directly into the DOM tree, so you can't refresh the #include without refreshing the entire page. Using an iframe can allow you to get around that. The only problem is that you have to make sure you're going to be ok at all resolutions (as was mentioned earlier).

MrToast
__________________
(#121, 2004) Archimedes semi-finalists with 237 and 386! I had an awesome time guys, and thanks for the hat!
(#121, 2004) BC5 semi-finalists with 190 and 1027! Awesome time! We went further than I thought we could! Thanks for all your help w/ our transmission!
(#121, 2005) Galileo quarter-finalists with 47 and 203! Thanks for all your support through the stress!
------------------------------
If it moves and it shouldn't, use duct tape.
If it doesn't move and it should, use WD-40
------------------------------
"It'll all work out in the end, and if it doesn't, it's not the end." - Jeff Bullock
  #8   Spotlight this post!  
Unread 21-10-2004, 21:34
Roland's Avatar
Roland Roland is offline
Post-A-Holic
#1466
Team Role: Webmaster
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Tennessee
Posts: 169
Roland is infamous around these partsRoland is infamous around these partsRoland is infamous around these parts
Re: iframes

Quote:
Originally Posted by Matt Attallah
That's a really good example of why everyone hates iframes. Jesus.
  #9   Spotlight this post!  
Unread 21-10-2004, 22:48
jonathan lall's Avatar
jonathan lall jonathan lall is offline
Registered User
FRC #2505 (The Electric Sheep; FRC #0188 alumnus)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Toronto, Canada
Posts: 547
jonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond reputejonathan lall has a reputation beyond repute
Send a message via MSN to jonathan lall
Re: iframes

Let me add in some commentary that should clear a bit of this up and lay to rest a few fallacious notions that I see about frames every once in a while.

Quote:
Originally Posted by Jack
There is really no "correct" answer to your question. It is true that iframes are not as widely supported by different web browsers, and are more likely to be displayed differently in different browsers, this being the reason why some hate them with passion.
To which browser are you referring, specifically? In all fully-functional browsers I've used, iframes are "supported." They are displayed slightly differently across the board, like anything else (and behave strangely and improperly when viewed with the Usual Suspect), but all browsers worth worrying about will do them just fine for everyday tasks. For this reason, I find it hard to condemn frames because they look different in different browsers. I mean... text sizes look different from IE to Mozilla to Safari. Should we not use text?

Quote:
Originally Posted by Jack
When used correctly, an iframe can add an extreme amount of functionality to a website that would be hard to achieve through other means. [...] I’m sorry but I really don’t have an example of a good looking iframe vs a bad one.
Let me just add to this to say this iframe "look" thing is totally subjective, and is also a silly reason to preach not to use them. I can, and have made an iframe look completely seamless. As Jack pointed out, iframes and frames can do unique things from both visual and structural standpoints that can turn out to be very useful. Those of you who suggest the use of includes instead of frames as some all-encompassing solution miss the point of their existence entirely (although in some specific cases includes are perfect for the job).

Case: the Webmaster has some CGI forum software he wants to integrate into the look of his site. He is either unable or unwilling to delve into the source code to include the forum contents between a header and a footer. Instead, he takes the final output (i.e. website.com/forum/index.cgi, a nice, clean, generated text/html page) and slaps it in an iframe placed within his site layout template. An important advantage to this approach (as Greg Marra sort of pointed out) is that the layout no longer needs to be loaded as someone clicks through links in the forum. Problem solved. Time elapsed: like... five minutes.

An aside: if you want to have a static menu and a scrolling content area, do yourself a favour and use includes with CSS to simulate the visual effect. It is this specific usage that makes people hate frames with a passion.

Quote:
Originally Posted by Jack
Lastly, I should mention that often search engines do not handle frames well at all, and therefore if it is important that the content inside the iframe is spidered, that factor may influence your decision again them.
This is absolutely true, but good semantic coding can defeat the majority of these problems, at least with Google. If user-agents and consumers can tell that something is part of a bigger picture, the problem is not so big anymore. For example, while this does not solve search engine spidering problems (use meta tags for that!), one can use Javascript to determine if a page is enclosed in a frame or not, and then based on that detection, load the frameset as it is meant to be seen.

Quote:
Originally Posted by Matt Attallah
I like I-Frames - but older browsers don't like them and if I rember correctly they are not W3C compliant (something of that such)
I'm sure you mean by that statement that the iframe element is not part of the HTML specification put out by the W3C. This is incorrect.

Quote:
Originally Posted by Matt Attallah
That's the one downfall.

When this page was implemented it was at a fixed pixel. No resizing, no nothing.

If you mess with it you can get it to where everything tries to stay inside the main window it'll all work - but i will admit you are pretty much stuck with the size.

It was planned for people with larger resolutions running IE...
Element dimensions can be defined as percentages of the browser window size (or the enclosing box element's size), which the browser can calculate in real time as you resize the window. And of course you don't need me to tell you how infuriating it is to still be seeing suggested resolutions and browsers at this day in age. Judging by the smilie, I think Matt is well aware of that.

Quote:
Originally Posted by Roland
That's a really good example of why everyone hates iframes. Jesus.
Don't blaspheme. Or diss other peoples' work for that matter. Well, you can do either, but I doubt either will make you any new friends here. More importantly though, the theory behind that implementation is likely similar to that of the aformentioned case study. While visually it might not always work, saying "frames suck" because of that is hardly reasonable.
__________________


Last edited by jonathan lall : 21-10-2004 at 22:51.
  #10   Spotlight this post!  
Unread 22-10-2004, 03:00
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
Re: iframes

Quote:
Originally Posted by Greg Marra
Why not keep it at fixed width then? There's no need to make a page resize to the user's browser, plenty of sites don't. Look at yahoo.com or google.
:sigh: I hate that..


I Surf at 1024 * 768 in IE btw.

Huge gaps on the sides of a lot of webpages.. It's really annoying.

CD stretches and fits my whole page. I like that!
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)

  #11   Spotlight this post!  
Unread 22-10-2004, 09:02
Roland's Avatar
Roland Roland is offline
Post-A-Holic
#1466
Team Role: Webmaster
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Tennessee
Posts: 169
Roland is infamous around these partsRoland is infamous around these partsRoland is infamous around these parts
Re: iframes

Quote:
Originally Posted by jonathan lall
More importantly though, the theory behind that implementation is likely similar to that of the aformentioned case study. While visually it might not always work, saying "frames suck" because of that is hardly reasonable.
I'm not saying that frames suck because of that site, which you really can't deny is ugly and broken. I'm saying that poorly used iframes make people hate all iframes, even ones that are used properly.
  #12   Spotlight this post!  
Unread 22-10-2004, 09:25
MrToast's Avatar
MrToast MrToast is offline
I named Greg Needel's cat!
AKA: Dave DeLong
no team (Rhode Warriors)
Team Role: Alumni
 
Join Date: Mar 2004
Rookie Year: 2004
Location: RI, now UT
Posts: 326
MrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud ofMrToast has much to be proud of
Send a message via AIM to MrToast
Re: iframes

I've only ever come across two sites that use frames in a correct and appealing manner. They are http://www.realgurus.com and http://www.apple-history.com

Personally, I can't stand frames. They seem to be a lazy way of coding a page, and they *rarely* turn out correct.

MrToast
__________________
(#121, 2004) Archimedes semi-finalists with 237 and 386! I had an awesome time guys, and thanks for the hat!
(#121, 2004) BC5 semi-finalists with 190 and 1027! Awesome time! We went further than I thought we could! Thanks for all your help w/ our transmission!
(#121, 2005) Galileo quarter-finalists with 47 and 203! Thanks for all your support through the stress!
------------------------------
If it moves and it shouldn't, use duct tape.
If it doesn't move and it should, use WD-40
------------------------------
"It'll all work out in the end, and if it doesn't, it's not the end." - Jeff Bullock
  #13   Spotlight this post!  
Unread 22-10-2004, 10:23
Roland's Avatar
Roland Roland is offline
Post-A-Holic
#1466
Team Role: Webmaster
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Tennessee
Posts: 169
Roland is infamous around these partsRoland is infamous around these partsRoland is infamous around these parts
Re: iframes

Quote:
Originally Posted by MrToast
I've only ever come across two sites that use frames in a correct and appealing manner. They are http://www.realgurus.com and http://www.apple-history.com

Personally, I can't stand frames. They seem to be a lazy way of coding a page, and they *rarely* turn out correct.

MrToast
Those could have been done without frames. I thought frames were pretty neat back when I thought Netscape 3.0 was pretty neat. Right now Google Images is the only good example of frame use I can think of.
  #14   Spotlight this post!  
Unread 25-10-2004, 00:07
iBob's Avatar
iBob iBob is offline
Extreme Mac Geek
AKA: Christopher Jones
#0240 (Mach Vee)
Team Role: Webmaster
 
Join Date: Apr 2002
Location: Monroe Michigan
Posts: 83
iBob is an unknown quantity at this point
Send a message via AIM to iBob Send a message via Yahoo to iBob
Re: iframes

Thanks for all the opinions guys. I'm actually doing a project for the Western Michigan Art School. My boss suggested mocking up an iframe layout that would allow us to keep the navigation bars without using a server side include, to speed things up and whatever. I think I'm going to advise we stick to how things are now (except I'm in the middle of a CSS rewrite of the nav bar to get rid of those javascript rollover images). Thanks again for all the advise.
__________________
Visit Team 240's Homepage
  #15   Spotlight this post!  
Unread 25-10-2004, 07:52
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Re: iframes

Quote:
Originally Posted by Greg Marra
I'm 1024x768 in Firefox.

The iframe displays wayy down at the bottom, not next to the links where I think it should.

Why not keep it at fixed width then? There's no need to make a page resize to the user's browser, plenty of sites don't. Look at yahoo.com or google.
There's a problem with viewing the site in FireFox. I'm currently trying to figure out what is causing the problem.

Back on topic though, I find that iFrames can be either good or bad, but not inbetween. I don't like using them, but there are sites out there that do use them correctly. One site that I personally think does it well is http://www.xjapan.de/main.htm. Another that does it poorly is a few I've made (which is long gone by now).
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi