Hi,

I've tried what you suggested but, have got an expected identifier
error.

function openUrl(url)
        {
//parent.frames[1].location.href = url;
parent.[Content].document.location.href='url';
//alert(url);
        }

Have I missed something really obvious here ?

Cheers,

> -----Original Message-----
> From: Joshua Miller [mailto:[EMAIL PROTECTED]]
> Sent: 29 January 2003 20:10
> To: CF-Talk
> Subject: RE: [offtopic] Javascript to open a url in another frame
> 
> parent.[name].document.location.href="page.cfm";
> 
> That works for me.
> 
> Joshua Miller
> Head Programmer / IT Manager
> Garrison Enterprises Inc.
> www.garrisonenterprises.net
> [EMAIL PROTECTED]
> (704) 569-9044 ext. 254
> 
>
************************************************************************
> *************
> Any views expressed in this message are those of the individual
sender,
> except where the sender states them to be the views of
> Garrison Enterprises Inc.
> 
> This e-mail is intended only for the individual or entity to which it
is
> addressed and contains information that is private and confidential.
If
> you are not the intended recipient you are hereby notified that any
> dissemination, distribution or copying is strictly prohibited. If you
> have received this e-mail in error please delete it immediately and
> advise us by return e-mail to
[EMAIL PROTECTED]
>
************************************************************************
> *************
> 
> 
> -----Original Message-----
> From: Darren Adams [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 2:14 PM
> To: CF-Talk
> Subject: RE: [offtopic] Javascript to open a url in another frame
> 
> 
> Afraid not,
> 
> I have a cf script writing an xtree tree and it is the action property
> of those tree items I am trying to use to open the url in the other
> frame.
> 
> I am calling a javascript function to do this.
> 
> I keep getting errors =(
> 
> 
> -Daz
> 
> > -----Original Message-----
> > From: Jeremy Bunton [mailto:[EMAIL PROTECTED]]
> > Sent: 29 January 2003 19:09
> > To: CF-Talk
> > Subject: RE: [offtopic] Javascript to open a url in another frame
> >
> > Can you not just use the target attribute of the link. <a
> href="what.htm"
> > target="framename">somelink</a>
> >
> > -----Original Message-----
> > From: Darren Adams [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 29, 2003 1:40 PM
> > To: CF-Talk
> > Subject: [offtopic] Javascript to open a url in another frame
> >
> >
> > Hello All,
> >
> >
> > Being a little dense today can anyone refresh my memory as to how
you
> > open up a link in another frame ?
> >
> > Is it
> >
> >     Parent.framename.location.href = url;
> >
> > Or
> >     Parent.frames[1].location.href = url;
> >
> >
> >
> > Basically I just want a link from one frame to open in another.
> >
> > Any ideas ?
> >
> > -Cheers,
> >
> > Daz
> >
> >
> >
> >
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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

Reply via email to