Skip to main content
March 3, 2010
Question

How to set window title using <cfdocument format="FlashPaper">?

  • March 3, 2010
  • 1 reply
  • 1065 views

Does anyone know how to set the the browser window title when using:

<cfdocument format="FlashPaper">

#docContent#

</cfdocument>

The variable docContent is a fully formed html document, complete with <head> and <title> elements, yet <cfdocument> doesn't pick up the title I've specified. I'm wondering if anyone has done this before???

Thanks!

    This topic has been closed for replies.

    1 reply

    Inspiring
    March 4, 2010

    Hi

    Despite the fully formed html doc, try adding your own hardcoded head content.


    See if it works.

    Delon

    March 4, 2010

    Yes, I tried that, but <cfdocument> replaces any content that I add. I cannot view the source for the page, but at least according to FireBug, when I view the page contents, I get:

    <html>

    <head>

    <title>print.cfm - print.cfm (application/x-shockwave-flash Object)</title>

    </head>

    <body marginwidth="0" marginheight="0">

    <embed width="100%" height="100%" type="plugin" src="http://127.0.0.1/tss/print.cfm?id=expeditions_staff&start=1" type="application/x-shockwave-flash">

    </body>

    </html>

    Inspiring
    March 4, 2010

    Next suggestion

    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_05.html