Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Are frames obsolete?

 
Ranch Hand
Posts: 837
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just curious on whether frames (and iframes) are on their way out or are they as popular as ever? Thanks.

Rob
 
Marshal
Posts: 67340
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my experience framesets have been dinosaurs for a number of years now. iframes on the other hand are still very much in use.

The use of the latter is being somewhat supplanted by scrollable divs with content fetched via Ajax, but when the sub-page needs to be its own page, iframes are still useful.
 
Rob Hunter
Ranch Hand
Posts: 837
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear. So what is used in place of frames now then? It's still common practice to use them "here" so what are the most common alteratives to frames?
 
Bear Bibeault
Marshal
Posts: 67340
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Rob Hunter:
So what is used in place of frames now then?


Nothing. Frameset pages are passe.

In vogue are "flat" pages with dynamic content supplied via Ajax or iframes.
[ December 20, 2007: Message edited by: Bear Bibeault ]
 
Rob Hunter
Ranch Hand
Posts: 837
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,
We currently use frames for one app because the customer has a webpage but only want our app in the middle with their links and so forth at the top and bottom. We make changes to our app and send them to them without having to mess with multiple customers having different surrounding pages. Can you suggest a better way of doing this whereby we can still embed our app within their pages?

Rob
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You try using Serverside includes to add the content such as the menus and such?

Eric
 
Bear Bibeault
Marshal
Posts: 67340
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see no reason that an iframe cannot serve your purposes.
 
Rob Hunter
Ranch Hand
Posts: 837
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll be honest, the person in charge of changing the pages wanted to change the page from having an iframe that "was" in place to a frameset. Now the same person is saying frames are out of date, after asking to do it that way instead. I figured I'd ask for some advice on it here to see what type of response I'd get. Thanks guys.

Rob
 
Bear Bibeault
Marshal
Posts: 67340
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, one of those. My condolences.
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To add to this, there are some problems with IFRAME. Try maximizing it's height in IE, it creates issues. Yup this problem is still there in IE 7.0. After trying lots of Javascript alternatives i switched to FRAMES. I was trying to display some content in IFRAME and when maximized or resized the content used to go hayward....but after trying lots of javascript quickfixes, I had no choice but to go over to FRAMEs, which offer a simple but elegant solution

Hope IE fixes this height IFRAME BUG....
 
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is that true that iframe is going to be depecreated in the future HTML? I heard object element can be used to substitute iframe, is that true?

Actually I'm myself not sure why iframe/frame is such a bad idea? Can anyone explain me more on this? Thanks.
 
What a show! What atmosphere! What fun! What a tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!