Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q3012 Can I control other frames using <CFLOCATION>?

You are here: irt.org | FAQ | ColdFusion | Q3012 [ previous next ]

Unfortunately, no. Remember, CFML is processed on the server, which has no idea what frame you are working in. Your browser figures the frames out after retrieving the HTML from the ColdFusion server.

The best way to handle frames is still the target attribute. (see HTML Frames FAQ) If you want to change or reload more than one frame with a single click, this is best handled with JavaScript. (see JavaScript frame FAQ)

©2018 Martin Webb