D'oh! I shoulda figured that. :-)
When I remove the abort the page just processes on though.
The javascript doesn't seem to be doing anything. Is the syntax screwy?
<script language="javascript">
top.myframe.location.replace("#request.root_url#/index.cfm?fuseaction=profil
e.profile8");
</script>
Greg
-----Original Message-----
From: Clint Tredway [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 9:15 AM
To: CF-Talk
Subject: RE: Frames Craziness.
Your abort is happening before your javascript is being run because the
abort is server side and happens before your javascript.
HTH
Clint
-----Original Message-----
From: Luce, Greg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 8:06 AM
To: CF-Talk
Subject: RE: Frames Craziness.
I have this in my page:
<script language="javascript">
top.myframe.location.replace("#request.root_url#/index.cfm?fuseaction=pr
ofil
e.profile8");
</script>
And I put this after just to see where I am:
Abort<cfabort>
It's just hitting the abort. I must be doing something wrong.
Greg
-----Original Message-----
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 4:43 PM
To: CF-Talk
Subject: Re: Frames Craziness.
> <cflocation> does not accept the target attribute. You can do the
> redirect with inline JS like this:
> <script language="javascript">
> parent.location.href="#myurl#"
> </script>
> You could replace parent with the name of the target frame. Does this
> help?
or top.myframe.location.replace("#myurl#"); which will replace the
current location of that frame in the browser's history stack ( the same
as cflocation ) and is viable all the way back to NS 3 and equivalent
version of IE.
S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer
www.turnkey.to
954-776-0046
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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