Skip to main content
Participating Frequently
August 12, 2011
Question

cfwindow it's empty in IE9

  • August 12, 2011
  • 3 replies
  • 1145 views

Hi,

I create a site that use a cfwindow in many places,  only one cfwindow does not work in IE9.  The problem is that the cfwindow don't show anything.  The cfwindow content is from cfm file and works in IE8, chrome, firefox and safary.

thank you for any help.

    This topic has been closed for replies.

    3 replies

    JairoBGAuthor
    Participating Frequently
    August 12, 2011

    The problem was the event to call the cfwindow,  for open all cfwindow I call them with a "onClick" event.  This one just open.  I just found the error message SCRIPT438: Object doesn't support property or method 'createContextualFragment'   The solution was simple for me, create a event to call the cfwindow or use the tag

    Tankyou again Adam for reply.

    JairoBGAuthor
    Participating Frequently
    August 12, 2011

    Thanyou for reply Adam:

    This is how I build the cfwindow:

    <script>

    ColdFusion.Window.create(

            'howStart',

                'How Start',

                'accountIniPopUp.cfm',

                {

                    center:true,

                    modal:true,

                    draggable:false,

                    resizable:false,

                    initshow:true,

                    closable:false,

                    height: 322,

                    width: 560

                }

       );

    </script>

    The content of file accountIniPopUp.cfm its a simple "test".

    Inspiring
    August 12, 2011

    Did you look @ the JavaScript error you'd be getting with that?

    That possibly would give you a hint as to what youv'e got wrong there.

    If you're going to use the CF UI controls via script, you need to import the relevant libaries before you use them.

    Reading the docs might help:

    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS0ef8c004658c1089-6262c847120f1a3b244-7fbf.html

    --

    Adam

    Inspiring
    August 12, 2011

    Seeing some code that demonstrates the problem would be helpful here.

    --

    Adam