User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 401,697 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,643 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2297 | Replies: 3
Reply
Join Date: Jun 2005
Posts: 8
Reputation: JaxsWastedLife is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
JaxsWastedLife JaxsWastedLife is offline Offline
Newbie Poster

Help IFRAMES as a buffer

  #1  
Jul 11th, 2005
want to load some external content into a hidden iframe. The hidden iframe will function as a buffer from which i can load the content into a <div>. The reason i am attempting this approach is because the external pages are located on a different domain at my company and JavaScript Security will not allow iframe resize scripts to function correctly across the domains.

The problem is i am not well versed in javascript. I know this approach is possible.

I will not be able to add any code to the pages that will be loaded into the iframe.

Help! :cry:
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Location: Australia
Posts: 19
Reputation: Eddie Traversa is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Eddie Traversa Eddie Traversa is offline Offline
Newbie Poster

Re: IFRAMES as a buffer

  #2  
Jul 11th, 2005
Follow this tutorial;

http://dhtmlnirvana.com/content/dhtm...ernalload.html

My DHTML page below also uses this technique in a slightly modified way, though you have to be pretty advanced to understand how my code works from the DHTML Nirvana site.

Eddie

DHTML Nirvana

http://dhtmlnirvana.com/

Spiritual Blog

http://www.truthrealization.com/
Reply With Quote  
Join Date: Jun 2005
Posts: 8
Reputation: JaxsWastedLife is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
JaxsWastedLife JaxsWastedLife is offline Offline
Newbie Poster

Help Re: IFRAMES as a buffer

  #3  
Jul 12th, 2005
Is there any way to use this solution without adding code to the pages that are going to be buffered by the iframe?
Reply With Quote  
Join Date: Jul 2005
Location: Australia
Posts: 19
Reputation: Eddie Traversa is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Eddie Traversa Eddie Traversa is offline Offline
Newbie Poster

Re: IFRAMES as a buffer

  #4  
Jul 12th, 2005
No your going to have problems becuase you cannot script across domains, i should have read your post more clearly as i missed that you wanted to do it across domains. Sorry about that, the solution above is only good for a single domain.

Eddie

DHTML Nirvana

http://dhtmlnirvana.com/

Spiritual Blog

http://www.truthrealization.com/
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 8:15 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC