editor

xiaoxiao2021-03-06  63

createcode </ title> <meta http-equiv = "content-type" content = "text / html; charSet = GB2312 "> <script language =" javascript "> // generate Code function createCode () {totalheight = parseInt (fcreate.bodyheight.value) fcreate.headheight.value * (fcreate.itemcount.value - 1); textCode.value = TEXT1.VALUE "VAR headheight =" fcreate.headheight.value ";" "VAR bodyHeight =" fcreate.bodyHeight.value ";" "var objcount =" fcreate.Itemcount.value "; " " VAR Step = " fcreate.mspeed.value "; " TEXT2.VALUE " .Headtd1 {Background: # " fcreate.headcolorn.value "; border: 2px outset; border-color: # " fcreate.lbordern.value "#" fcreate.dbordern.value "#" fcreate.dbordern.value "#" fcreate.lbordern.value "; cursor: hand; font-size: 9pt}" ".Headtd2 {background: #" fcreate.headcolora.value "; border: 2px outset; border-color: # " fcreate.lbordera.value " # " fcreate.dbordra.value " # " fcreate.dbordra.Value " # " fcreate.lbordra.value "; Cursor: Hand; font-size: 9pt} " " .Bodytd {Background: # " fcreate.bodycolor.value "; border: 2px outset; border-color: # " </p> <p>Fcreate.lborderb.value "#" fcreate.dborderb.value "#" fcreate.dborderb.value "#" fcreate.lborderb.value "; font-size: 9pt}" text3.value "<div id = 'mainboard' style = 'position: absolute; left: 2px; Top: 2px; width: 120px; Height:" TotalHeight "PX; Z-Index: 1; Overflow: hidden; background: #" fcreate.bodycolor.value "; '";</p> <p>Itemtop = 0; for (i = 1; i <= parse); i ) {textcode.value = "<div id = 'item" i "body' style = 'Position: absolute a Left: 0; top: " itemtop "; width: 120px; Height: " fcreate.bodyHeight.Value " PX; z-index: " (i 1) "; overflow: hidden '> " "<Table Width = '100%' Border = '0' Height = '100%' Cellpadding = '2' Cellspacing = '0'>" "<TR>" "<TD ID = 'Item" i "HEAD 'Height ='" (Fcreate.HeadHeight.Value-2) "'Class ="; if (i == 1) TextCode.Value = "' Headtd2 '"; Else TextCode.Value = " 'Headtd1' "; Textcode.Value =" οnclick = 'showme (item " i " body, this)' align = 'center'> "; // textcode.value = getValue (" fcreate.Item " i); Textcode.Value = Document.all ["Item" i] .Value "</ td>" "<tr>" "<tr>" "<td class = 'bodytd' align = 'Center'> " " TEST " " </ TD> " </ TR>" "</ TABLE>" "</ div>"; IF (i == 1) itemtop =</p> <p>PARSEINT (FCREATE.BODYHEIGHT.VALUE); Else Itemtop = PARSEINT (Fcreate.HeadHeight.Value);} Textcode.Value = "</ div> </ body> </ html>"} // Get the value of the object FUNCTION GetValue (obj) {// obj = Object (obj); Return Obj.Value;} // Clear code function clearcode () {textcode.value = ";} // Preview code function prevcode () {createcode (); Open (). Document.write (TEXTCODE.VALUE);} // Select the code function selectcode () {textcode.select ();} // Automatically generate the submenu in the feed checkitems () {ix ((Fcreate.Itemcount.Value.Length> 0 && IsNan (Fcreate.Itemcount.value) || fcreate.Itemcount.value.Length == 0) {Alert ("Please enter the number!"); fcreate.Itemcount.focus ();} Else {if (fcreate.Itemcount.value> 50) {alert ("too exaggerated, small, don't use it! 50 or less, 50)") fcreate.Itemcount.focus () Return;} IF (fcreate.Itemcount.value < 1) {Alert ("It's too exaggerated, one don't want you to do! (1 or more, including 1) ") fcreate.itemcount.focus (); return;} itemtext =" <Table width = '700' border = '0' align = 'center' cellpadding = '1' cellspacing = '1' > "; For (i = 1; i <= fcreate.Itemcount.value; i ) {</p> <p>Itemtext = "<tr>" "<TD class = 'TD2' width = '76 '> menu item" i "</ td>" "<TD colspan =' 2 'Class =' ​​TD2 '>" "<Input type = 'text' name = 'item" i "' Class = 'back2' style = 'width: 200' value = 'menu" i "" "</ td>" "<TD Class = 'TD2' Width = '173'> Menu Item Internal Network page </ td>" "<TD ColSpan = '2' Class = 'TD2'>" "<input type = 'file 'name =' iplass = 'back2' style = 'width: 200'> "</ td>" "</ TR>";} itemtext = "</ table>" Document .all.itemmenu.innerhtml = itemtext;}} // Check if it is a legal color value Function ChangeBKCLR (OBJ) {HEXV = New Array ("0", "1", "2", "3", "4 "5", "6", "7", "8", "c", "d", "e", "f"); Flag = false ; If (Obj.Value.Length! = 6) { Alert ("Please fill in it correctly! (Six digits) "); obj.focus ();</p> <p>} Else {for (i = 0; i <6; i ) {for (j = 0; j <16; j ) IF (obj.value.charat (i) .tolowercase () == HEXV [J]) flag = True; if (! flag) {Alert ("Please fill in with hexadecimal.</p> <p>(0-9, af) "); obj.focus (); return;} flag = false;} obj.style.background = obj.value;}} // check if it is a legitimate number Function Checknum (OBJ) {IF (ISNAN ("Please enter a number!"); Obj.focus (); return;}} // checks the speed legitimacy of change value FUNCTION CHANGESPD (OBJ) {FcReate.mspeed. Value = 1;} // Check if it is a legitimate speed function checkspeed (obj) {if (ISNAN ("Please enter the number!"); obj.focus ();} else {iv ((obj.form.bodyheight.value - obj.form.headheight.value)% obj.value! = 0) {alert ("Please confirm can be" Menu height - menu head height "整"); OBJ. Focus ();}}} // Control Top Filler Function Ctrtitle (OBJ) {if (obj.value == "Yes") Obj.form.TitLename.disabled = False; Else Obj.form.titlename.disabled = true;} </ script> <style type = "text / css"> <! -. td1 {font-size: 9pt; background: # 66ccff} .td2 {font-size: 9pt; background: # 66aaff} .back1 {font-size: 9pt; width: 100} .back2 {font-size: 9pt; background: #becfee} -> </ style> </ head></p> <p><body bgcolor = '# 000000'> <div align = "center"> <textarea name = "textcode" rows = "28" style = "width: 700" class = "back2" Readonly> < / textarea> <br> <input type = "value =" value = "<- Generate code (Alt M)" class = "back2" style = "width: 150" οnclick = "createcode ()" AccessKey = "m"> <input type = "button" name = "btnclear" value = "# = Clear code (Alt C)" class = "back2" style = "width: 150" οnclick = "Clearcode ()" AccessKey = "c"> <input type = "button" name = "btnprev" value = "O-preview effect (Alt P)" class = "back2" style = "width: 150" οnclick = "prevcode ()" AccessKey = "P"> <input type = "button" name = "btnselect" value = "@@ 全 选 code (Alt a)" class = "back2" style = "width: 150" οnclick = "selectcode () AccessKey = "a"> </ div> <form name = "fcreate" method = "post" action = "> <table width =" 700 "border =" 0 "align =" center "cellpadding =" 2 " Cellspacing = "1"> <TD1 "width =" 13% "height =" 13 "> menu item number </ td> <td class =" TD1 "width =" 12% "Height = "13"> <input type = "text" Name = "itemcount" style = "width: 40"</p> <p>Class = "Back2" οnblur = "CheckItems ()" value = "2"> </ td> <td class = "td1" width = "13%" height = "13"> menu head height </ td> < Td class = "td1" width = "12%" height = "13"> <input type = "name =" Headheight "class =" back2 "value =" 22 "style =" width: 50 "οnblur =" Checknum (this) "οNCHANGE =" Checkspeed (fcreate.mspeed) "> </ td> <td class =" td1 "width =" 13% "height =" 13 "> menu body height </ td> <td class = "TD1" width = "12%" height = "13"> <input type = "text" name = "bodyheight" class = "back2" value = "202" style = "width: 50" οnblur = "Checknum (this ) "οnchange =" checkspeed "> </ td> <td class =" td1 "width =" 13% "height =" 13 "> filling mobile speed </ td> <td class =" td1 " Width = "12%" height = "13"> <input type = "text" name = "mspeed" class = "back2" value = "10" style = "width: 50" οnblur = "Checkspeed (this)"> </ td> </ tr> <tr> <td class = "TD1" colspan = "8" height = "55"> <table width = "100%" border = "0" align = "CELLPADDING =" 0 "Cellspacing =" 0 "dwcopytype =" copytablerow "> <tr> <</p> <p>Td class = "TD1" width = "20%"> General title color </ td> <TD class = "TD1" width = "16%"> <input type = "text" name = "Headcolorn" class = " BACK1 "style =" "value =" 00a4e1 "οnblur =" changebkclr (this) "maxlength =" 6 "> </ td> <td class =" td1 "width =" 16% "> bright edge color </ td> <TD class = "TD1" width = "16%"> <input type = "text" name = "lbordern" class = "" style = "background: # 00bBff" value = "00bBff" οnblur = "ChangeBKCLR (this)" maxlength = "6"> </ td> <td class = "td1" width = "16%"> Dark edge color </ td> <TD class = "TD1" width = "16%" > <Input type = "text" name = "dbordern" class = "back1" style = "background: # 0077ff" value = "0077ff" οnblur = "ChangeBKCLR (this)" maxlength = "6"> </ td> < / TR> <TR> <TD class = "TD1" width = "20%"> Current head color </ td> <td class = "TD1" width = "16%"> <input type = "text" name = "Headcolora" class = "back1" style = "background: # 20c1ff" value = "20C1FF" οnblur = "ch AngebkClr (this) "maxlength =" 6 "> </ td> <td width =" 16% "</p> <p>Class = "TD1"> Bright edge color </ td> <TD class = "TD1" width = "16%"> <input type = "name =" LBordera "class =" back1 "style =" Background: # 60D3FF "Value =" 60d3ff "οnblur =" ChangeBKCLR (this) "maxlength =" 6 "> </ td> <td class =" td1 "width =" 16% "> Dark edge color </ td> <TD class = "TD1" width = "16%"> <input type = "text" name = "dbordra" class = "back1" style = "=" 0077ff "οnblur =" ChangeBkclR (this) "MAXLENGTH = "6"> </ td> </ tr> <tr> <td class = "td1" width = "20%"> menu body color </ td> <td class = "TD1" width = "16%"> <input type = "text" name = "body" class = "back1" style = "background: # 99ccff" value = "99ccff" οnblur = "ChangebkclR (this)" maxlength = "6"> </ td> <TD Width = "16%" class = "td1"> Bright edge color </ td> <TD class = "TD1" width = "16%> <input type =" text "name =" lborderb "class =" back1 " Style = "Background: # b0d8ff" value = "b0d8ff" οnblur = "ChangeBkClr (this)" Maxlength = "6"> </ td> <td class = "td1" width = "16%"></p> <p>Dark edge color </ td> <td class = "td1" width = "16%"> <input type = "text" name = "dborderb" class = "back1" style = "background: # 0077ff" value = "0077ff "οnblur =" ChangeBKCLR (this) "> </ td> </ tr> </ table> </ td> </ tr> <tr> <td class =" td1 "width =" 80 "> menu total topic < / TD> <td class = "td1" width = "85> <select name =" Title "style =" width: 40 "class =" back2 "οnchange =" ctrltitle (this) "> <option value =" "> There is </ option> <option value =" None "SELECTED> None </ option> </ select> </ td> <TD width =" 95 "class =" td1 "> topic name </ td> <TD COLSPAN = "5" class = "td1"> <input type = "text" name = "TitleName" class = "back2" value = "Fill in the Total" Disabled> </ TD> </ TR> </ table> < Div ID = "itemmenu"> <table width = '700' border = '0' align = 'center' cellpadding = '1' cellspacing = '1'> <tr> <td class = 'td2' width = '76 ' > Menu Item 1 </ TD> <TD COLSPAN = '2' Class = 'TD2'> <input type = 'text' name = 'item1' C Lass = 'back2' style = 'width: 200' value = "Menu 1"> <</p> <p>/ TD> <TD Class = 'TD2' Width = '173'> Menu Item Internal Network page </ TD> <TD COLSPAN = '2' Class = 'TD2'> <input type = 'file' name = 'ItemsRC1 'class =' ​​back2 'style =' width: 200 '> </ td> </ tr> <tr> <td class =' ​​td2 'width = '76'> menu item 2 </ td> <td colspan = ' 2 'Class =' ​​TD2 '> <input type =' text 'name =' item2 'class =' ​​back2 'style =' width: 200 'value = "Menu 2"> </ td> <TD class =' ​​TD2 ' Width = '173'> Menu Item Internal Network page </ td> <TD colspan = '2' Class = 'TD2'> <input type = 'file' name = 'itemsrc2' class = 'back2' style = 'width : 200 '> </ td> </ tr> </ table> </ div> </ form> <div sty = "display: none> <textarea name =" text1 "rows =" 5 "style =" width : 700 "class =" back1 "readonly> <html> <head> <title> QQ menu </ title> <meta http-equiv = 'content-type' content = 'text / html; charSet = GB2312'> <script Language = 'javascript'> </ textarea> <textarea name = "text2" rows = "5" style = "width: 700" class = "back1" readonly > var moving = false; function showme (obj1, obj2) {if (moving) return; moving =</p> <p>True; for (i = 0; i <document.all.tags ('td'). Length; i ) IF (Document.All.tags ('TD') [i] .classname.indexof ('headtd') = = 0) Document.all.tags ('TD') [i] .classname = 'headtd1'; obj2.classname = 'headtd2'; Moveme (obj1);} function moveme (obj) {IDNUMBER = PARSEINT (Obj.id) .substr (4)); objtop = headHeight * (idnumber - 1); objbuttom = bodyHeight headHeight * (idnumber - 2); currenttop = parseInt (obj.style.top); if (currenttop> = objbuttom) {countid = 1; for (i = 0; i <document.all.tags ('div'). Length; i ) IF (Document.all.tags ('div') [i] .id == 'item' countid ' Body ') {Obj = Document.all.tags (' div "[i]; objtop = headheight * (countID - 1); if (countID == idnumber) {MoveUp Obj, objtop, false; break;} else moveup (obj, objtop, true); countid ;}} else if = Document.all.tags ('div "). Length-1; i> = 0;</p> <p>I - IF (Document.all.tags ('Div') [i] .id == 'Item' Countid 'Body') {Obj = Document.all.tags ('Div') [I]; Objbuttom = bodyHeight headHeight * (countid - 2); if (countid == idnumber) {movedown (obj, objbuttom, false); break;} else movedown (obj, objbuttom, true); countid--;}}} function moveup (Obj, objtop, ismove) {currenttop = parseint (obj.style.top); if (currenttop> objtop) {Obj.Style.top = CURRENTTOP - Step; Settimeout ('MoveUp (' Obj.id ',' Objtop ',' ismove ')', 1) return;} moving = ismove;} Function Movedown (obj, objbuttom, ismove) {currenttop = parseint (obj.style.top); if (currenttop <objbuttom) {Obj.Style.top = CURRENTTOP Step; SetTimeout ('MoveDown (' Obj.id ',' ObjButtom ',' ismove ')', 1) Return;} moving = ismove;} </ script> </ script> <style type = 'text / css'> </ textarea> <textarea name = "text3" rows = "5" style = "width: 700" class = "back1" readonly></p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-119487.html</div><div class="plugin d-flex justify-content-center mt-3"></div><hr><div class="row"><div class="col-lg-12 text-muted mt-2"><i class="icon-tags mr-2"></i><span class="badge border border-secondary mr-2"><h2 class="h6 mb-0 small"><a class="text-secondary" href="tag-2.html">9cbs</a></h2></span></div></div></div></div><div class="card card-postlist border-white shadow"><div class="card-body"><div class="card-title"><div class="d-flex justify-content-between"><div><b>New Post</b>(<span class="posts">0</span>) </div><div></div></div></div><ul class="postlist list-unstyled"> </ul></div></div><div class="d-none threadlist"><input type="checkbox" name="modtid" value="119487" checked /></div></div></div></div></div><footer class="text-muted small bg-dark py-4 mt-3" id="footer"><div class="container"><div class="row"><div class="col">CopyRight © 2020 All Rights Reserved </div><div class="col text-right">Processed: <b>0.039</b>, SQL: <b>9</b></div></div></div></footer><script src="./lang/en-us/lang.js?2.2.0"></script><script src="view/js/jquery.min.js?2.2.0"></script><script src="view/js/popper.min.js?2.2.0"></script><script src="view/js/bootstrap.min.js?2.2.0"></script><script src="view/js/xiuno.js?2.2.0"></script><script src="view/js/bootstrap-plugin.js?2.2.0"></script><script src="view/js/async.min.js?2.2.0"></script><script src="view/js/form.js?2.2.0"></script><script> var debug = DEBUG = 0; var url_rewrite_on = 1; var url_path = './'; var forumarr = {"1":"Tech"}; var fid = 1; var uid = 0; var gid = 0; xn.options.water_image_url = 'view/img/water-small.png'; </script><script src="view/js/wellcms.js?2.2.0"></script><a class="scroll-to-top rounded" href="javascript:void(0);"><i class="icon-angle-up"></i></a><a class="scroll-to-bottom rounded" href="javascript:void(0);" style="display: inline;"><i class="icon-angle-down"></i></a></body></html><script> var forum_url = 'list-1.html'; var safe_token = 'xyXvLdBYn1fBaELHs79ETvL63sRXdiMV_2B5KRpzmW2_2FtvxgJc6R9X9Oog80zt4nTA51EwaBFWbPK7FhR7F3Zv_2BA_3D_3D'; var body = $('body'); body.on('submit', '#form', function() { var jthis = $(this); var jsubmit = jthis.find('#submit'); jthis.reset(); jsubmit.button('loading'); var postdata = jthis.serializeObject(); $.xpost(jthis.attr('action'), postdata, function(code, message) { if(code == 0) { location.reload(); } else { $.alert(message); jsubmit.button('reset'); } }); return false; }); function resize_image() { var jmessagelist = $('div.message'); var first_width = jmessagelist.width(); jmessagelist.each(function() { var jdiv = $(this); var maxwidth = jdiv.attr('isfirst') ? first_width : jdiv.width(); var jmessage_width = Math.min(jdiv.width(), maxwidth); jdiv.find('img, embed, iframe, video').each(function() { var jimg = $(this); var img_width = this.org_width; var img_height = this.org_height; if(!img_width) { var img_width = jimg.attr('width'); var img_height = jimg.attr('height'); this.org_width = img_width; this.org_height = img_height; } if(img_width > jmessage_width) { if(this.tagName == 'IMG') { jimg.width(jmessage_width); jimg.css('height', 'auto'); jimg.css('cursor', 'pointer'); jimg.on('click', function() { }); } else { jimg.width(jmessage_width); var height = (img_height / img_width) * jimg.width(); jimg.height(height); } } }); }); } function resize_table() { $('div.message').each(function() { var jdiv = $(this); jdiv.find('table').addClass('table').wrap('<div class="table-responsive"></div>'); }); } $(function() { resize_image(); resize_table(); $(window).on('resize', resize_image); }); var jmessage = $('#message'); jmessage.on('focus', function() {if(jmessage.t) { clearTimeout(jmessage.t); jmessage.t = null; } jmessage.css('height', '6rem'); }); jmessage.on('blur', function() {jmessage.t = setTimeout(function() { jmessage.css('height', '2.5rem');}, 1000); }); $('#nav li[data-active="fid-1"]').addClass('active'); </script>