BVB Source Codes

Jie Yang v0.6.3 article system Show marquee.htm Source code

Return Download Jie Yang v0.6.3 article system: download marquee.htm Source code - Download Jie Yang v0.6.3 article system Source code - Type:.htm
  1. <HTML>
  2. <HEAD>
  3. <META content="text/html; charset=gb2312" http-equiv=Content-Type>
  4. <style>
  5. BODY {PADDING:5PX}
  6. TD,BODY,SELECT,P,INPUT {FONT-SIZE:9PT}
  7. </style>
  8.  
  9. <script language="JavaScript" src="dialog.js"></script><script language=javascript>
  10. var sAction = "INSERT";
  11. var sTitle = "插入";
  12. var sel = dialogArguments.eWebEditor.document.selection.createRange();
  13. sel.type = dialogArguments.eWebEditor.document.selection.type;
  14.  
  15. var el;
  16. var sText = "";
  17. var sBehavior = "";
  18.  
  19. if (sel.type=="Control") {
  20.         if (sel.item(0).tagName=="MARQUEE"){
  21.                 sAction = "MODI";
  22.                 sTitle = "修改";
  23.                 el = sel.item(0);
  24.                 sBehavior = el.behavior;
  25.                 sText = el.innerHTML;
  26.         }
  27. }
  28.  
  29. document.write("<title>字幕属性(" + sTitle + ")</title>");
  30.  
  31.  
  32. // 单选的点击事件
  33. function check(){
  34.         sBehavior = event.srcElement.value;
  35. }
  36.  
  37. // 初始值
  38. function InitDocument() {
  39.         d_text.value = sText;
  40.         switch (sBehavior) {
  41.         case "scroll":
  42.                 document.all("d_behavior")[0].checked = true;
  43.                 break;
  44.         case "slide":
  45.                 document.all("d_behavior")[1].checked = true;
  46.                 break;
  47.         default:
  48.                 sBehavior = "alternate";
  49.                 document.all("d_behavior")[2].checked = true;
  50.                 break;
  51.         }
  52.  
  53. }
  54. </script><SCRIPT event=onclick for=Ok language=JavaScript>
  55.         sText = d_text.value;
  56.         if (sAction == "MODI") {
  57.                 el.behavior = sBehavior;
  58.                 el.innerHTML = sText;
  59.         }else{
  60.                 dialogArguments.insertHTML("<marquee behavior='"+sBehavior+"'>"+sText+"</marquee>");
  61.         }
  62.         window.returnValue = null;
  63.         window.close();
  64. </script></HEAD>
  65.  
  66. <body bgcolor=menu onload="InitDocument()">
  67.  
  68. <table border=0 cellpadding=0 cellspacing=0 align=center>
  69. <tr><td>
  70.         <FIELDSET align=left>
  71.         <LEGEND></LEGEND>
  72.         <table border=0 cellspacing=5 cellpadding=0>
  73.         <tr valign=middle><td>文本:&nbsp;</td><td><input type=text id="d_text" size=50 value=""></td></tr>
  74.         <tr valign=middle><td>表现:&nbsp;</td><td><input onclick="check()" type="radio" name="d_behavior" value="scroll"> 滚动条 <input onclick="check()" type="radio" name="d_behavior" value="slide"> 幻灯片 <input onclick="check()" type="radio" name="d_behavior" value="alternate"> 交替</td></tr>
  75.         </table>
  76.         </FIELDSET>
  77.  
  78. </td></tr>
  79. <tr><td height=10></td></tr>
  80. <tr><td align=right><input type=submit value='  确定  ' id=Ok>&nbsp;&nbsp;<input type=button value='  取消  ' onclick="window.close();"></td></tr>
  81. </table>
  82.  
  83. </body>
  84.  
  85.  
  86.  
downloadmarquee.htm Source code - Download Jie Yang v0.6.3 article system Source code
Related Source Codes/Software:
Jilin classification information release system v5.0 trial version - A ready-made classifieds site publishing system, h... 2016-09-21
Linyi CMS v6.5 market classification information - A. supply and demand information function: informa... 2016-09-21
Tesco discount net SQL version - And presentations, faster. 2016-09-21
- electronic enterprise website management system In a fully functional version - Super suitable for enterprise agents build a corpo... 2016-09-21
Rio mesh network hard disk system v3.0 - System functions: 1, increase the progress of Asp... 2016-09-21
Classified information network business in suzhou - Overall module: classification of supply and deman... 2016-09-21
NPOINT virtual host v1.7.0 formal version management system - The system main function is introduced 2016-09-21
IDC sales web site - Beautiful IDC sales web site source code 2016-09-21
Oo 126 CMS movie site system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
Pcook CMS bubble guest v3.0 SDCMS version - Developed by Asp+Access, and meet the needs of sma... 2016-09-21
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top