8b90ce0339efb3e7faca8e06ae1bf21916266e51.svn-base 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title></title>
  6. <!--框架必需start-->
  7. <script type="text/javascript" src="../../libs/js/jquery.js"></script>
  8. <script type="text/javascript" src="../../libs/js/language/cn.js"></script>
  9. <script type="text/javascript" src="../../libs/js/framework.js"></script>
  10. <link href="../../libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  11. <link rel="stylesheet" type="text/css" id="skin" prePath="../../"/>
  12. <link rel="stylesheet" type="text/css" id="customSkin"/>
  13. <!--框架必需end-->
  14. <!--用于引入flash的脚本start-->
  15. <script type="text/javascript" src="../../libs/js/method/swfobject.js"></script>
  16. <!--用于引入flash的脚本end-->
  17. <script>
  18. function initComplete(){
  19. var interval_time=4 //图片停顿时间,单位为秒,为0则停止自动切换
  20. var flawidth=document.getElementById('flashcontent').offsetWidth;
  21. var flaheight=document.getElementById('flashcontent').offsetHeight;
  22. var focus_width=flawidth //宽度
  23. var focus_height=flaheight //高度
  24. var text_height=0 //标题高度
  25. var text_align= 'center' //标题文字对齐方式(left、center、right)
  26. var swf_height = focus_height+text_height //相加之和最好是偶数,否则数字会出现模糊失真的问题
  27. var pics= '../../libs/images/demo/demo1.jpg|../../libs/images/demo/demo2.jpg|../../libs/images/demo/demo3.jpg'//图片地址
  28. var links='http://www.baidu.com|http://www.sina.com.cn|http://mail.163.com'//相对于图片的链接地址
  29. var texts='标题1|标题2|标题3'//标题文字
  30. var so = new SWFObject("../../libs/flash/slider.swf", "focus", "100%", "100%", "7", "#ffffff");
  31. so.addParam('wmode','opaque');
  32. so.addParam('quality','high');
  33. so.addParam("scale", "noscale" );
  34. so.addParam("menu", "false" );
  35. so.addVariable("pics",pics);
  36. so.addVariable("links",links);
  37. so.addVariable("texts",texts);
  38. so.addVariable("textheight",text_height);
  39. so.addVariable("borderwidth",focus_width);
  40. so.addVariable("borderheight",focus_height);
  41. so.addVariable("text_align",text_align);
  42. so.addVariable("interval_time",interval_time);
  43. so.addVariable("textheight",text_height);
  44. so.addVariable("width",focus_width);
  45. so.addVariable("height",swf_height);
  46. so.write("flashcontent");
  47. }
  48. </script>
  49. </head>
  50. <body>
  51. <div class="box1" style="width: 438px;"><div class="box_topcenter"><div class="box_topleft"><div class="box_topright"></div></div></div><div class="box_middlecenter"><div class="box_middleleft"><div class="box_middleright"><div class="boxContent" style="overflow: visible;">
  52. <div id="flashcontent" style="width:400px;height:200px;">
  53. <div class="flash_install">
  54. <div class="msg_icon3"></div>
  55. <div class="flash_install_con" >
  56. 您需要升级Flash播放器,<span class="forIE"><a href="../../libs/flash/flash_IE.exe">点击这里</a>安装</span>
  57. <span class="forFF"><a href="../../libs/flash/flash_FF.exe">点击这里</a>进行安装</span><br />安装后请关闭浏览器再重新打开
  58. </div>
  59. </div>
  60. </div>
  61. </div></div></div></div><div class="box_bottomcenter"><div class="box_bottomleft"><div class="box_bottomright"></div></div></div></div>
  62. </body>
  63. </html>