This is a migrated thread and some comments may be shown as answers.

ie8 not showing the content of the window

1 Answer 58 Views
Window
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 19 Aug 2012, 09:32 PM
if i have a function like

displayMessage = function (displayTitle, display) {
                $("<div></div>").kendoWindow({
                    animation: {
                        open: {
                            effects: "slideIn:left fadeIn",
                            duration: 500
                        },
                        close: {
                            effects: "slide:left fadeOut",
                            duration: 500
                        }
                    },
                    visible: true,
                    title: displayTitle,
                    modal: true,
                    width: "50%",
                    deactivate: function () {
                        this.element.closest(".k-widget").remove();
                    }
                }).data("kendoWindow")
                .content(display)
                .center()
                .open();
            }

and call the method:

displayMessage("Test", "<label>Hi there</label>");

In firefox, safari, chrome, ie9 this works.

In ie8 the window pops up. The title is shown but the content is blank, nothing is there. Why is the content not showing?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Accepted
zhin
Top achievements
Rank 1
answered on 22 Aug 2012, 04:21 AM
var wnd = $("<div></div>");
$(document.body).append(wnd);
wnd.kendoWindow(......)
Tags
Window
Asked by
Thomas
Top achievements
Rank 1
Answers by
zhin
Top achievements
Rank 1
Share this question
or