◆ 实例请参考网页脚本控制实例 / 外观
在JSP文件中报表标签之前设置如下JavaScript变量,来定义下拉日历的颜色,四个变量分别表示/主面板背景颜色、周文字颜色、日期文字颜色、日期面板背景颜色,不需要改变的颜色变量可以不用定义,取值采用html中的颜色取值:
<script language=javascript>
var _calendarMainBackColor = "#87cefa";
var _calendarWeekColor = "#ba55d3";
var _calendarDayColor = "#191970";
var _calendarDayBackColor = "#e6e6fa";
</script>
自定义参数表单中的下拉树边框及背景色,可以采取在JSP文件中报表标签之前设置如下JavaScript变量,来定义下拉树的四个边框样式和背景色,取值采用html中的边框及颜色取值:
<script language=javaScript>
var _treeBackColor = "yellow";
var _treeBorderLeft = "white 2 solid";
var _treeBorderTop = "white 2 solid";
var _treeBorderRight = "black 2 solid";
var _treeBorderBottom = "black 2 solid";
</script>