i'm sorry my notation is incorrect, my parent page i HTML and must stay HTML so the best i can do is throw a varialbe in the URL
Main Topics
Browse All TopicsI have a page that has an iframe in it. I want to know if there is a way to use the pass url variables of the page containing the IFRAME to the IFRAME page.
For example:
ParentURLtest:
<title>Untitled Document</title>
</head>
<body>
<iframe src="parenturlframe.cfm" width="500" height="500"></iframe>
</body>
</html>
ParentURLframe.cfm
<title>Untitled Document</title>
</head>
<body>
<cfoutput>#PARENTURLFRAME.
</body>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
came across this question
What is it you are trying to do?
you have a parent page that is static html
you have an iframed page that is cfm
is that correct so far?
then you want to pass vars FROM the parent static page TO the iframed cfm page
is that correct?
If so - where are the url vars coming from?
do you mean someone comes into the site (to the parent html page) with a url like
http://www.yourdomain.com/
is that correct?
If so - you then want to pass these vars to the iframed cfm page
is that correct?
if yes then
<body onload="iframename.locatio
you'd put your actual iframe name in place of iframename and change your cfm page to the correct page name.
On the iframed cfm page you can now parse out this URLVars value and do whatever you want with them in coldfusion
if all this is incorrect - please post with a clear concise description of what it is you want to do.
dgrfrax, this is perfect!. i slightly modified b/c i couldn't use i in my body tags so i just placed this in the body:
<script language="javascript" type="text/javascript">
function document_onload()
{
scheduler.location.replace
}
</script>
<script language="javascript" type="text/javascript">
window.onload=document_onl
</script>
THANKS!!
Business Accounts
Answer for Membership
by: bwasyliukPosted on 2007-01-17 at 09:02:07ID: 18333785
Try this:
foutput>#c gi.query_s tring#</cf output>" width="500" height="500"></iframe>
<body>
<iframe src="parenturlframe.cfm?<c
</body>
Then in the ParentURLframe.cfm document, the variables are all accessed as "url." variables.
Ben
www.ScheduleForce.net