你F12直接看看它属性名称是什么吧。
var w=600;
var h=700;
var url = encodeURI("/webroot/decision/view/form?viewlet=Form1.frm");
var $iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='no' frameborder='0'>");
$iframe.attr("src", url);
//窗体的属性
var o = {
title: "我是对话框", //标题
width: w,
height: h
};
FR.showDialog(o.title, o.width, o.height, $iframe, o);
$(".fr-core-panel-header.fr-core-panel-style-light-gray.fr-core-window-header").css('background','#159D73');//窗体背景颜色
