use document.innerHTML which will return the source for the frame.

Neil

> -----Original Message-----
> From: Igor Ilyinsky [mailto:[EMAIL PROTECTED]
> Sent: 28 March 2003 15:56
> To: CF-Talk
> Subject: CFHTTP - JavaScript - Frame Source (Dynamic)
> 
> 
> Guys, I am going nutty trying to figure this out!!!
> 
> I have to capture an HTML 'snapshot' of a dynamic page and 
> then save the
> source to a static HTML page. The reason is that I want to 
> give my users
> a 'preview' of what the static page will be and allow them 
> the option to
> keep it, or refresh and try again with the potential of different
> results (because it is dynamic).
> 
> The problem is that the page that I am pulling for the 
> 'preview' is in a
> different directory, and CFHTTP's ResolveURL attribute does 
> not resolve
> all of the URLs, especially not the ones loading Flash apps.
> 
> What I'm trying to do now, is open the page in a different 
> frame, and if
> the user chooses to keep the page, I want to retrieve the 
> HTML from that
> frame. However, I have not found an object in the DOM that 
> will return a
> document's HTML source.
> 
> Any Ideas? I'm open to other solutions. Keep in mind that I can not do
> another HTTP call because that may load a different page, as it is
> dynamic. Also, If possible, I'd rather not make changes to the dynamic
> page this dynamic page.
> 
> TIA
> Igor
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to