2e9f033d27804f0cc285a0af2aff745ec19cf202.svn-base 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. %>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  9. <title></title>
  10. <!--框架必需start-->
  11. <script type="text/javascript" src="<%=path%>/libs/js/jquery1.4.2_min.js"></script>
  12. <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
  13. <script type="text/javascript" src="<%=path%>/libs/js/framework.js"></script>
  14. <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  15. <link rel="stylesheet" type="text/css" id="skin" prePath="<%=path%>/"/>
  16. <link rel="stylesheet" type="text/css" id="customSkin"/>
  17. <!--框架必需end-->
  18. <!--图表脚本start-->
  19. <script language="JavaScript" src="<%=path%>/libs/thirdparty/fusioncharts/js/FusionCharts.js"></script>
  20. <!--图表脚本end-->
  21. <script>
  22. function initComplete(){
  23. FusionCharts.setCurrentRenderer('javascript');
  24. var chartPath = "<%=path%>/libs/thirdparty/fusioncharts/swf/";
  25. var dataUrlPath = "<%=path%>/libs/thirdparty/fusioncharts/data/";
  26. var chart1 = new FusionCharts(chartPath + "Column2D.swf", "ChartId", "100%", "300", "0", "0");
  27. chart1.setDataURL(dataUrlPath + "Column2D_2.xml");
  28. chart1.render("chartdiv1");
  29. var chart2 = new FusionCharts(chartPath + "Column2D.swf", "ChartId", "100%", "300", "0", "0");;
  30. chart2.setDataURL(dataUrlPath + "Column2D_3.xml");
  31. chart2.render("chartdiv2");
  32. var chart3 = new FusionCharts(chartPath + "Column2D.swf", "ChartId", "100%", "300", "0", "0");;
  33. chart3.setDataURL(dataUrlPath + "Column2D_4.xml");
  34. chart3.render("chartdiv3");
  35. }
  36. </script>
  37. <script>
  38. function myJS(myVar){
  39. top.Dialog.alert(myVar);
  40. }
  41. </script>
  42. </head>
  43. <body>
  44. <div class="box1" panelWidth="800">
  45. <fieldset>
  46. <legend>图表每项点击链接</legend>
  47. <div id="chartdiv1">
  48. <div class="flash_install">
  49. <div class="msg_icon3"></div>
  50. <div class="flash_install_con" >
  51. 您需要升级Flash播放器,<span class="forIE"><a href="<%=path%>/libs/flash/flash_IE.exe">点击这里</a>安装</span>
  52. <span class="forFF"><a href="<%=path%>/libs/flash/flash_FF.exe">点击这里</a>进行安装</span><br />安装后请关闭浏览器再重新打开
  53. </div>
  54. </div>
  55. </div>
  56. </fieldset>
  57. <div class="height_50"></div>
  58. <fieldset>
  59. <legend>图表每项点击调用JS</legend>
  60. <div id="chartdiv2">
  61. <div class="flash_install">
  62. <div class="msg_icon3"></div>
  63. <div class="flash_install_con" >
  64. 您需要升级Flash播放器,<span class="forIE"><a href="<%=path%>/libs/flash/flash_IE.exe">点击这里</a>安装</span>
  65. <span class="forFF"><a href="<%=path%>/libs/flash/flash_FF.exe">点击这里</a>进行安装</span><br />安装后请关闭浏览器再重新打开
  66. </div>
  67. </div>
  68. </div>
  69. </fieldset>
  70. <div class="height_50"></div>
  71. <fieldset>
  72. <legend>图表整体点击链接</legend>
  73. <div id="chartdiv3">
  74. <div class="flash_install">
  75. <div class="msg_icon3"></div>
  76. <div class="flash_install_con" >
  77. 您需要升级Flash播放器,<span class="forIE"><a href="<%=path%>/libs/flash/flash_IE.exe">点击这里</a>安装</span>
  78. <span class="forFF"><a href="<%=path%>/libs/flash/flash_FF.exe">点击这里</a>进行安装</span><br />安装后请关闭浏览器再重新打开
  79. </div>
  80. </div>
  81. </div>
  82. </fieldset>
  83. </div>
  84. </body>
  85. </html>