> Is there a custom tag or a workaround to pass the 
> TARGET="main" argument in a CFLOCATION redirection?

When you use CFLOCATION, like any other CFML tag, you're executing
server-side code, which doesn't know anything about any framesets existing
on the browser - it just knows that it's responding to a specific HTTP
request.

So, if you want to manipulate the contents of one frame from another, you'll
need to use client-side code: TARGET attributes of anchors and forms, or
JavaScript. For example, you could set the location object to a new URL:

<script language="JavaScript">
otherframename.location.href = 'mynewpage.cfm';
</script>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to