This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Html5 and Iframes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Html5 and Iframes" Watch "Html5 and Iframes" New topic

Html5 and Iframes

Sai Hegde
security forum advocate
Ranch Hand

Joined: Oct 26, 2010
Posts: 204

On my last project, we worked with a lot of iframes for loading cross domain html into our web pages and it was painful. Does html5 provide an alternative to iframes?
Rob Crowther
Ranch Hand

Joined: Nov 06, 2012
Posts: 297

Depending on what exactly you're trying to do the alternatives are CORS or Cross Document Messaging.

Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
It is sorta covered in the JavaRanch Style Guide.
subject: Html5 and Iframes
jQuery in Action, 3rd edition