Got it sorted now.
I needed to escape some characters in ColdFusion when I was setting the
url variable.

Cheers anyway
> -----Original Message-----
> From: Turetsky, Seth [mailto:[EMAIL PROTECTED]]
> Sent: 30 January 2003 14:38
> To: CF-Talk
> Subject: RE: [offtopic] Javascript to open a url in another frame
> 
> I don't think Joshua meant for you to actually put in the brackets
around
> the framename, unless you didn't.
> 
> Try throwing in an alert to see if you have the right path to the
frame's
> url
> alert(parent.framename.document.location.href);
> 
> -----Original Message-----
> From: Darren Adams [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 30, 2003 6:07 AM
> To: CF-Talk
> Subject: RE: [offtopic] Javascript to open a url in another frame
> 
> 
> 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
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