It is currently Sat Dec 02, 2017 4:19 pm Advanced search
Yes.WebMartin28 wrote:iFrames are still valid in the current HTML 5 Working Draft. First, is this the case?
They have valid use-cases. For example, to include ads, or to include a <video> with scripted controls.WebMartin28 wrote:Second, if so, why are iFrames allowed to remain?
Likely. It's not clear to me that you'd be conforming though, since you have to use elements for their appropriate semantic purpose...WebMartin28 wrote: It seems to me that someone who wanted to conform to HTML 5 Recommendations (when, of course, that does happen), and still use Framesets, they could create embedded iFrames, to achieve the frameset model. Would this not create the same accessibility issues as Framesets currently do?
iframes & divs can be resized with JavaScript very easily, there are tons of scripts online that can do that.deezzer wrote:Unless you can add an attribute to iframes so that users can manually adjust the framed window, framesets are very much needed.
Nevermind that my site would depend on framesets for the coming years, but Craigslist is one of the top most visited sites, and depends on the flexibility of these tags inside their forums!
Using CSS won't work to divide up windows, because as users embed other service technologies into pages (ie: youtube videos), these mashup elements bleed (overlay in unexpected ways) into the other CSS divs, making it very ugly and not reliable.
Except for the (many) user agents that don't support JavaScript, as crawlers for example.The only solution then is to use framesets with <frame> tags. And although framesets do have their cons, with javascript programming, a coder can iron out some flaws easily.
frames & divs can be resized with JavaScript very easily, there are tons of scripts online that can do that.
Quote:
Nevermind that my site would depend on framesets for the coming years, but Craigslist is one of the top most visited sites, and depends on the flexibility of these tags inside their forums!
I haven't visited all CraigsList, but all pages I've seen validate CSS & HTML (though some are in Quirk Mode), but I haven't seen any frame).
Quote:
Using CSS won't work to divide up windows, because as users embed other service technologies into pages (ie: youtube videos), these mashup elements bleed (overlay in unexpected ways) into the other CSS divs, making it very ugly and not reliable.
This can usually be fixed with correctly written CSS, I guess.
Quote:
The only solution then is to use framesets with <frame> tags. And although framesets do have their cons, with javascript programming, a coder can iron out some flaws easily.
Except for the (many) user agents that don't support JavaScript, as crawlers for example.
I got that. JavaScript can add visible borders & give the user the possibility to dynamically resize them. See the jQuery UI SplitPane for example.deezzer wrote:Perhaps I was not specific enough - I meant that framesets enable the end client user to adjust their frames and resize them to their taste.
I see. Well if they keep this code this way, it simply won't validate. They will sure need lots of recoding if they want to validate their code. I agree that's annoying.Their whole discussion forums, a major area of craigslist relies on them:
Select a topic first: http://sfbay.craigslist.org/forums/
When setting CSS footers or headers absolutely for a section of the page, say a youtube embedded videos is present, it'll magically 'bleed through' CSS divs as the page scrolls up and down. With frames, they're clean.
This is HTML 5. I would imagine Web 2.0 and beyond. Javascript is to be expected - AJAX/XHR is ubiquitous.
deezzer wrote:When setting CSS footers or headers absolutely for a section of the page, say a youtube embedded videos is present, it'll magically 'bleed through' CSS divs as the page scrolls up and down. With frames, they're clean.
deezzer wrote:This is HTML 5. I would imagine Web 2.0 and beyond. Javascript is to be expected - AJAX/XHR is ubiquitous.
JAB Creations wrote:Frames have valid applications for those who aren't insanely high-tech. In example I've long used frames on my site to allow visitors to listen to music while browsing my site...as they visit new pages the music continues uninterrupted. Without frames this is almost next to impossible unless you're a JavaScript guru.
Users browsing this forum: No registered users and 1 guest