Iframe replacement

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Feb 2008
Posts: 347
Reputation: kevin wood is an unknown quantity at this point 
Solved Threads: 1
kevin wood's Avatar
kevin wood kevin wood is offline Offline
Posting Whiz

Iframe replacement

 
0
  #1
Oct 7th, 2008
as iframes are now depreciated as of xhtml 1.0 Strict is there away to replace these using Ajax.

this is something i have heard off but have never come across and would like to know if this is possible. I have used iframes in the past to display content from other pages and new content for pages i have built built.

if it is possible to use Ajax to replace iframe could someone please point me in the direction of a good tutorial on this.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 6
Reputation: fsav is an unknown quantity at this point 
Solved Threads: 0
fsav fsav is offline Offline
Newbie Poster

Re: Iframe replacement

 
0
  #2
Oct 7th, 2008
You can do this very easily with jQuery, say by loading the content in a DIV like so:
http://frinity.blogspot.com/2008/06/...v-element.html

Of course that won't work if the visitor has JavaScript disabled...
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 6
Reputation: fsav is an unknown quantity at this point 
Solved Threads: 0
fsav fsav is offline Offline
Newbie Poster

Re: Iframe replacement

 
0
  #3
Oct 7th, 2008
(Also you'll have trouble with loading content from other sites if I'm not mistaken, as XMLHttpRequests have the cross-domain limitation)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC