Hi Duncan,
Am a bit rusty on the javascript side at the moment, what is required to
do this? I have looked into it but having some trouble getting the thing
to load from the top.
Here is my script:
if (typeof('url.ifs') != "undefined") {
document.getElementById('mframe').src = 'frame.cfm?id1=' &
<cfoutput>#url.id1#</cfoutput> & '&id2=' &
<cfoutput>#url.id2#</cfoutput>;
}
Any help would be appreciated
Cheers
Chris
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 16 June 2004 13:12
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] IFRAME problems
using the onLoad will wait for the index page to fully load in, content,
images etc, before it calls the function. If you want it to happen more
automatically, remove the call to the function from the <body onLoad>
bit,
and just put it in the head of the index page. The function will then
execute when the index page starts to load, not when it's completed
loading.
"LIVE Support "
<[EMAIL PROTECTED] To:
<[EMAIL PROTECTED]>
nts.co.uk> cc:
Subject: RE: [
cf-dev ] IFRAME problems
16/06/2004 12:38
Please respond to dev
Hi everyone,
Thanks for everyones input yesterday, I ended up going down the route
duncan suggested and it works fine although there is a bit of a nasty
delay between when the you first enter the page and the <body onload>
tag.
If anyone has any other ideas I'd like to hear them but thanks to
everyone
Who helped.
Cheers
Chris
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 15 June 2004 14:34
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] IFRAME problems
here's what I'd do:
<a href="index.cfm?id=#sid#">submit</a>
in index.cfm, pass the relevant URL parameter to your Iframe:
<cfparam name="URL.ID" default=0>
<iframe src="frame.cfm?id=#URL.id#">
</iframe>
"LIVE Support "
<[EMAIL PROTECTED] To:
<[EMAIL PROTECTED]>
nts.co.uk> cc:
Subject: [ cf-dev
] IFRAME problems
15/06/2004 09:42
Please respond to dev
Its early and I had no sleep last night trying to get an app finished.
I have one problem though which I'm not sure is applicable to this list
or
some other list but help would be much appreciated.
I am trying to load a page and update a <iframe> within that page at the
same time. No matter what I try I can't get it to work. Any ideas?
Link Code:
<a href="index.cfm" onclick="document.mframe.location='frame.cfm?id
=#sid#'">submit</a>
The iframe is called mframe and the filename is frame.cfm
The page with the iframe on is index.cfm
Would I have to load the page and then do a frame refresh once the page
is
loaded?
Any help would be appreciated
Cheers
Chris
--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*
To unsubscribe, e-mail: [EMAIL PROTECTED]
--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided
by activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*
To unsubscribe, e-mail: [EMAIL PROTECTED]
--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*
To unsubscribe, e-mail: [EMAIL PROTECTED]
--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by
activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*
To unsubscribe, e-mail: [EMAIL PROTECTED]