Rounded form implemented by JavaScript code

xiaoxiao2021-03-06  39

Rounded Form 1 Code: Garden Corner </ Title> <meta http-equiv = "content-type" content = "text / html; charSet = GB2312"> <script language = " JavaScript "> Function RTLOAD (M, W, H, TL, TR, BL, BR, LP, TP, TBK, BBK, BD, PD, BG, C, C, S, OVERACT, OUTACT) {var Rthtml = NULL; SWITCH m) {case 1: wt = W-2; ht = h-2; var = h-2; var RTWARRAY = New Array (1, wt, 1); var RTHARRAY = New Array (1, HT, 1); Break; Case 2: WT = W-4; ht = h-4; var = new array (1, 1, wt, 1, 1); var RTHARRAY = New Array (1, 1, ht, 1, 1); Break; Case 3: WT = W-8; ht = h-8; var RTWARRAY = New Array (1, 1, 2, WT, 2, 1, 1); var Rtharray = New Array (1, 1, 2, HT, 2, 1 , 1); Break; Case 4: WT = W-10; HT = H-10; var RTWARRAY = New Array (1, 1, 1, 2, WT, 2, 1, 1, 1); Var RTHARRAY = New Array (1, 1, 1, 2, HT, 2, 1, 1); Break; Case 5: WT = W-14; HT = H-14; var RTWARRAY = New Array (1, 1, 1, 2, 2, WT, 2, 2, 1, 1, 1); Var RTHARRAY = New Array (1, 1, 1, 2, 2, HT, 2, 2, 1, 1); Break; Case 6 : Wt = W-12; ht = h-12; var = H-12; var RTWARRAY = New Array (1, 1, 1, 1, 1, 1, wt, 1, 1, 1, 1, 1); var RTHARRAY = NEW Array (1, 1, 1, 1, 1, 1, HT, 1, 1, 1, 1, 1); Break; Default: WT = W-8; ht = h-8; var RTWARRAY = New Array (1, 1, 2, WT, 2, 1, 1); var Rtharray = New Array (1, 1, 2, HT, 2, 1 , 1); break;} if (rtWArray && rtHArray) {var rtM = rtWArray.length-rtWArray.length% 2; var rtN = rtM / 2;} if (rtWArray && rtHArray && rtM && rtN) {if (c.outerHTML) {c.style.display = ""; Var conn c.outerhtml; c.outerhtml = "";} else {var last = C;} if (! Pd) PD = "0px"; rtHTML = "<div style = /" width: " w "; Height:" h </p> <p>"; CURSOR: Default;" S "/" nmοuseοver = / "" Overact "/" οnmοuseοut = / " outact " / "> <Table Border = /" 0 / "Cellpadding = /" 0 / "cellspacing = /" 0 / "> / n"; for (i = 0; i <= RTM; i ) {rtml = "<tr> / n"; for (j = 0; j <= RTM; J ) {RTHTML = "<td width = /" " RTWARRAY [J] " / "Height = /" " RTHARRAY [i] " / ""; if (i> = RTN) {m = 0 ( I-RTN); N = RTM- (I-RTN);} else {m = 0 (RTN-I); N = RTM- (RTN-I);} IF (i <RTN && J <RTN) // Test Left upper corner {if (tl) {if (j == m || j == n) {rtml = "bgcolor = /" " bd " / "";} if (j> M && j <n) {rtml = "bgcolor = /" " bg " / "";}} else {if (i == 0 || j == 0) {rtml = "bgcolor = /" bd "/";} else {RTHTML = "BGCOLOR = /" " bg " / "";}}} f (i <RTN && J> RTN) // Check right corner {IF (tr) {if (j == m || j == n) {RTHTML = "bgcolor = /" " bd " / "";} if (j> M && j <n) {rthtml = "bgcolor = /" bg "/" "}} else { IF (i == 0 || J == RTM) {RTHTML = "BGCOLOR =</p> <p>/ "" BD "/" ";} else {rthtml =" bgcolor = / "" bg "/" ";}}} f (i> rtn && j <}) // Test left lower corner {IF (BL ) {IF (j == m || j == n) {rTML = "bgcolor = /" " bd " / "";} if (j> M && j <n) {rtml = "bgcolor = /" " BG "/" ";}} else {if (i == RTM || j == 0) {rtml =" bgcolor = / " bd " / ";} else {rtml =" bgcolor = / "" " bg " / "";}}} if (i> RTN && J> RTN) // Test right corner {IF (br) {if (j == m || j ==) {rtml = " BGColor = / "" bd "/" ";} if (j> M && j <n) {rtml =" bgcolor = / "" bg "/" ";}} else {if (i == = RTM | | j == rtm) {RTHTML = "bgcolor = /" " bd " / "";} else {rtml = "bgcolor = /" " bg " / "";}}} f (i == RTN && J == RTN) RTHTML = "Align = /" " LP " / "Valign = /" " TP " / "BGColor = /" " BG " / "style = /" Padding: " PD "/" CONT "</ td> / n"; ELSE IF ((i == RTN &)</p> <p>& j == 0) || (i == 0 && j == r) || (i == RTN && J == RTM) || (i == RTM && J == RTN)) RTHTML = "BGColor = /" BD "/"> </ td> / n "; Else IF ((i == RTN && J <RTN) || (i == RTN && J> RTN) || (i <RTN && J == RTN) || (i> RTN && J = = RTN)) RTHTML = "bgcolor = /" " bg " / "> </ td> / n"; else {IF (i <RTN) Rthtml = "BGColor = /" " TBK " / "> </ td> / n "; else rtHTML =" bgcolor = / "" bbk "/"> </ td> / n ";}} rtHTML =" </ tr> / n ";} rtHTML =" < / Table> </ div> ";}} var response = {write: function () {document.write (arguments [0])}} function check_mouse () {TN = Event.Srcelement.tagname; if ( TN! = 'INPUT' && TN! = 'textarea') Return False;} Document.onselectionStart = new function ("TN = Event.srcelement.tagname; if (TN! = 'Input' && TN! = 'Textarea') Return False ; "); </ script> <style> 11px; font-family: Tahoma} Input {font-size: 11px; font-family: Tahoma; Border: 0px; Background-Color : TRANSPARENT; Width: 170px; Height: 15px; Color: # 4f7900} -> </ style> <body topmargin = "0" leftmargin = "0" scroll = no bgcolor = "# ffffff"> <! - # 84ca00 -></p> <p><div align = "left"> <table border = "0" cellpadding = "0" cellspacing = "0" style = "border-collapse: collapse" width = "100%" height = "100%"> <TR> <td width = "100%" height = "100%" align = "center"> <span id = "" style = "color: # 247c1b;"> You Must Have Administrative Access To successfully log in into the Eastpower Board Administration .. CP <BR> Please enter your administrator username and password below </ span> <span style = "color: # 36B02D" id = "middt"> <font style = "font-size: 13px;"> <b> Verification Required </ b> </ font> <hr Noshade color = "# 36b02d" size = "1"> <table border = "0" cellpadding = "0" cellspacing = "0" style = "border-collapse: collapse = "362" Height = "362" height = "56"> <tr> <TD width = "154" height = "22"> Your administrator username: </ td> <td width = "202" height = "22" id = "idname_t"> </ td> </ tr> <tr> <td width = "154" height = "22"> Your administrator password: </ td> <td width = "202" height = "22" ID = "passwd_t"> </ td> </ tr> <tr> <td width = "154" Height = "19"> </ td> <td width = "202" height = "19"> </ td> </ tr> </ table> </ span> <</p> <p>Script language = "javascript"> // 0 Background color change 1 Title word color 2 Outside frame color 3 frame color 4 internal characters 5 out of the frame with color frame on the bottom color 7 Under the inner frame Stock= New Array ("# 217118", "# 247c1b", "# 2f9726", "# 36b02d", "# bcecb7", "# E3f7e1", "# f2fbf2", "# ffffff"); // var color = New Array ("# ​​52d342", "# 426d00", "# 529200", "# 6ba600", "# a5ff00", "# c6ff63", "# E7ffbd", "# ffffff"); TMP = "<span style = /" width: 380px; height: 15px; text-align: Left; padding-limited: 1px; font-size: 10px; font-family: helpty; color: " color [1] " / "> <b> Welcome to the Eastpower Board Administration CP </ b> </ span> <br>" RTLOAD (3,382,43, true, true, false, false, "left", "middle", "" , "", Color [3], 2, Color [6], Headt, ",", "") RTLOAD (3,382,110, false, false, false, false, "left", "top", "" , "", Color [7], 2, Color [7], MIDDT, "Border: 1PX Solid" Color [3] "; Border-Top: 0px;", "", "") <SPAN Style = / "Width: 71px; Height: 18px; Text-Align: Left; font-size: 12px; font-family: arial; color: # 3169a5; padding-top: 3px /"> " rtload (2,59 , 18, True, True, True, True, "Center", "Middle", Color [5], Color [5], Color [4], 0, "" "<u> h </ u> ome", "Background-Color:" Color [7], "this.style.backgroundColor = '" color [8] "';", "this.style.backgroundcolor ='" color [7] ";") "</ span>" "</p> <p><span style = / "width: 238px; Height: 18px; text-align: Right; font-size: 12px; font-hmily: arial; color: # 3169a5; padding-top: 3px /"> " rtload (2 , 59, 18, True, True, True, True, "Center", "Middle", Color [5], Color [5], Color [4], 0, "" "<u> o </ u> K "," Background-Color: " Color [7]," this.style.BackgroundColor = '" color [8] "; "," this.style.backgroundcolor =' color [7] "';") "</ Span>" "<span style = /" width: 71px; height: 18px; text-align: right; font-size: 12px; font-family: arial; color: # 3169a5 Padding-top: 3px / ">" RTLOAD (2,59,18, true, true, true, true, "center", "middle", color [5], color [5], color [4], 0, "", "<u> c </ u> ancel", "Background-color:" Color [7], "this.style.backgroundcolor = '" color [8] ";", " THISSTYLE.BACKGROUNDCOLOR = '" color [7] "; ") " </ span> "; // TMP2 = RTLOAD (4, 400, 212, true, true, true, true," center "," middle " , ",", "# A8aa8", 0, "# d6d7d6", tmp, "", ",", "); response.write (RTLOAD (4,400, 212, true, true, true, true," center " , "Middle", Color [8], Color [8], Color [2], 0, Color [5], TMP, "," "," ")); // RESPONSE .write ("<br>" RTLOAD (4,400,212, true, true, true, true, "center", "middle", ",", "# a8aaa8", 0, "# dee7ef", tmp, " ",", "" ")); IDNAME_T.INNNERHTML = RTLOAD (2,190,17, true, true, true, true," center "</p> <p>, "Middle", "", "", "<input type = /" text / "name = /" IDNAME / "SIZE = /" 20 / ">", "Background -COLOR: " Color [7]," this.style.backgroundcolor = '" color [8] "; "" this.style.backcoldcolor =' " color [7] "; ") Passwd_t.innerhtml = RTLOAD (2,190,17, true, true, true, true, "center", "middle", "," ", color [4], 0,", "<input type = /" Password / "name = /" passwd / "size = /" 20 / ">", "Background-color:" color [7], "this.style.backgroundColor = '" color [8] "; "," this.style.backgroundcolor = '" color [7] "; "); </ script> </ td> </ tr> </ table> </ div> </ body> </ html > Rounded Table 2 Code: <HTML> <Head> <Title> Garden Corner </ Title> <meta http-equiv = "content-type" content = "text / html; charSet = GB2312> <script language = "JavaScript"> Function RTLOAD (M, W, H, TL, TR, BL, BR, LP, TP, TBK, BBK, BD, PD, BG, C, C, S, OVERACT, OUTACT) {var {var rthtml = null; switch (m) {case 1: wt = W-2; ht = h-2; var RTWARRAY = New Array (1, wt, 1); var RTHARRAY = New Array (1, HT, 1); Break; Case 2: WT = W-4; ht = h-4; var = H-4; var RTWARRAY = New Array (1, 1, wt, 1, 1); var RTHARRAY = New Array (1, 1, ht, 1, 1); Break; Case 3 : WT = W-8; ht = h-8; var RTWARRAY = New Array (1, 1, 2, WT, 2, 1, 1); var Rtharray = New Array (1, 1, 2, HT, 2, 1 , 1); Break; Case 4: WT = W-10; HT = H-10; var RTWARRAY = New Array (1, 1, 1, 2, WT, 2, 1, 1, 1); Var RTHARRAY =</p> <p>New Array (1, 1, 1, 2, HT, 2, 1, 1); Break; Case 5: WT = W-14; HT = H-14; var RTWARRAY = New Array (1, 1, 1 , 2, 2, WT, 2, 2, 1, 1, 1); Var RTHARRAY = New Array (1, 1, 1, 2, 2, HT, 2, 2, 1, 1); Break; Case 6: wt = W-12; ht = h-12; var = H-12; var RTWARRAY = New Array (1, 1, 1, 1, 1, 1, wt, 1, 1, 1, 1, 1); var RTHARRAY = New Array (1, 1, 1, 1, 1, 1, 1); Break; Default: Wt = W-8; HT = H-8; var RTWARRAY = New Array (1, 1, 2, WT, 2, 1, 1); Var RTHARRAY = New Array (1, 1, 2, HT, 2, 1, 1); Break;} IF (RTWARRAY && RTHARRAY) {var RTM = RTWARRAY .length-rtwarray.length% 2; Var = =} {if (c.outerhtml) {c.style.display = "; var cont = c.outerhtml; c.outerHTML =" "} Else {var conn c;} if (! Pd) Pd =" 0px "; rthtml =" <div sty = / "width:" w "; Height:" h "; Cursor: Default ; S "/" οnmοuseοver = / "" Overact "/" οnmοuseοut = / "" Outact "/"> <table border = / "0 /" cellpadding = / "0 /" cellspacing = / "0 /"> / n "; for (i = 0; i <= RTM; i ) {RTHTML =" <tr> / n "; for (j = 0; j <= RTM; J ) {RTHTML =" <td width = / "" RTWARRAY [J] "/" Height = / " RTHARRAY [i] " / ""; if (i> = r) {m = 0 (i-RTN); n = = RTM- (I-RTN } Else {m = 0 (RTN-I); N = RTM- (RTN-I);} IF (i <RTN && J <RTN) // Test left upper corner {IF (TL) {IF (j == M || j ==</p> <p>n) {RTHTML = "bgcolor = /" " bd " / "";} if (j> M && j <n) {rthtml = "bgcolor = /" " bg " / ""}} else {IF (i == 0 || j == 0) {RTHTML = "bgcolor = /" " bd " / "";} else {rthtml = "bgcolor = /" bg "/";}} } IF (i <RTN && J> RTN) // Test the right corner {IF (tr) {if (j == m || j == n) {RTHTML = "BGColor = /" bd "/" " } IF (j> M && j <n) {RTHTML = "bgcolor = /" " bg " / "";}} else {if (i == 0 || j == r) {r r = = "BGColor = / " BD " / "";} else {rtml = "bgcolor = /" " bg " / "";}}} f (i> RTN && J <RTN) // Test the lower left corner {IF (BL) {IF (j == m || j == n) {RTHTML = "bgcolor = /" " bd " / "";} if (j> M && j <n) {RTHTML = "BGColor = /" " BG "/";}} else {if (i == RTM || j == 0) {rtml = "bgcolor = /" " bd " / ";} else {rtml = "bgcolor = /" " bg " / "";}}} if (i> RTN &&</p> <p>J> RTN) // Check the right corner {if (br) {if (j == M || J ==) {rtml = "bgcolor = /" " bd " / "";} if (j> M && J <n) {RTHTML = "BGCOLOR = /" " bg " / "";}} else {if (i == r @| j == r) {rtml = "bgcolor = /" " bd "/" ";} Else {rthtml =" bgcolor = / "" bg "/" ";}}} f (i == r && j == r) RTHTML =" align = / "" lp "/ "Valign = /" " TP " / "BGCOLOR = /" " BG " / "style = /" Padding: " PD " / "> Cont " </ td> / n "; Else IF ((i == RTN && J == 0) || (i == 0 && J == RTN) || (i == RTN && J == RTM) || (i == RTM && J == RTN) rTHTML = "BGColor = / "" bd "> </ td> / n"; ELSE IF ((i == RTN && J <RTN) || (i == RTN && J> RTN) || (i <RTN && J == RTN) || (I> RTN && J == RTN)) RTHTML = "BGColor = /" " BG " / "> </ td> / n"; Else {IF (i <RTN) Rthtml = "BGColor = /" " tbk "/"> </ td> / n "; else rtHTML =" bgcolor = / "" bbk "/"> </ td> / n ";}} rtHTML =" </ tr> / n "</p> <p>} RTHTML = "</ table> </ div>"; return}} var Response = {Write: function () {document.write (arguments [0])}} function check_mouse () {TN = Event.srcelement .tagname; if (tn! = 'input' && tn! = 'textarea') Return False;} Document.onselectStart = New function ("tn = event.srcelement.tagname; if (tn! = 'input' && tn! = ' TEXTAREA ') RETURN FALSE; "); </ script> <style> <! Font-family: tahoma} infut {font-size: 11px; font-family: tahoma; border: 0px solid # 737173; width: 170px; height: 15px; color: # ff0000} -> </ style> </ head> <body TopMargin = "0" leftmargin = "0" scroll = no bgcolor = "# deE7ef" > <div align = "left"> <table border = "0" cellpadding = "0" cellspacing = "0" style = "border-collapse: collapse" width = "100%" height = "100%"> <TR > <TD width = "100%" height = "100%" align = "center"> <span id = "Headt" style = "color: # 333333;> You Must Have Administrative Access to successfully log in into the EastPower Board Administration cp. <br> Please Enter your Administrator UserName and Password Below. </ Span> <span style = "color: # 737173" id = "middt"> <font style = "font-size: 13px;"> <b> verification request </ b> <font> <hr Noshade color = " # 999999 "Size =" 1 "> <table border =" 0 "cellpadding =" 0 "cellspacing =" 0 "style ="</p> <p>Border-collapse: collapse; color: # 737173 "Width =" 362 "height =" 56 "> <tr> <td width =" 154 "height =" 22 "> Your administrator username: </ td> <td width = "202" Height = "22" ID = "idName_t"> </ td> </ tr> <tr> <td width = "154" height = "22> Your administrator password: </ td> <td width = "202" Height = "22" ID = "passwd_t"> </ td> </ tr> <tr> <td width = "154" height = "19"> </ td> <td width = "202" Height = "19"> </ td> </ tr> </ table> </ span> <script language = "javascript"> TMP = "<span style = /" width: 380px; height: 15px; text-align: Left; padding-left: 1px; font-size: 10px; font-family: Helvetica; Color: # 3169a5 / "> <b> Welcome to the EastPower Board Administration CP </ b> </ span> <br> RTLOAD (3,382,43, true, true, false, false, "left", "middle", "," # 737173 ", 2," # fffee ", headt,", "," " RTLOAD (3,382,110, false, false, false, false, "left", "top", "," # ffffff ", 2," # ffffff ", middt," border-left: 1px solid # 737173; Border-Right: 1px Solid # 737173; border-bottom: 1px Solid # 737173; ",", " ") <Span style = /" width: 74px; height: 18px; text-align: left; font-size: 12px; font-family: arial; color: # 3169a5; padding-top: 3px / ">" </p> <p>RTLOAD (2,59,18, true, true, true, true, "center", "middle", "# d6d7d6", "# d6d7d6", "" # e7e7e7 "," <u> h < / / >ome", "background-color:#bfbdbf" "this.style.backgroundcolor='#737173' ;"this.style.backgroundColor='#bfbdbf ';") "</ span>" "<span style = /" width: 238px; Height: 18px; text-align: Right; font-size: 12px; font-family: arial; color: # 3169a5; padding-top: 3px / ">" rtload (2, 59, 18, true, true, true, true, "center", "middle", "# d6d7d6", "# d6d7d6", "# 737173", 0, "" <u> o </ u> k "," background-color: # e7e7e7 "," this.style.backcoldcolor = '# fffff'; "," this.style.backcolor = '# e7e7e7'; ") " </ span> " <span style = / "width: 71px; height: 18px; text-align: Right; font-size: 12px; font-family: arian; color: # 3169a5; padding-top: 3px /"> " rtload 2,59,18, true, true, true, true, "center", "middle", "# d6d7d6", "# 737173", "# 737173", "# 737173", 0, "" <u> c </ u > ANCEL "," Background-Color: # E7E7E7 "," this.style.BackgroundColor = '# fffff'; "," this.style.backcolor = '# e7e7e7'; ") " </ span> "; / / TMP2 = RTLOAD (4,40 0,212, true, true, true, true, "center", "middle", "", "" # a8aa8 ", 0," # d6d7d6 ", tmp,", "," "); response. Write (RTLOAD (4,400,212, true, true, true, true, "center", "middle", ",", "</p></div><div class="text-center mt-3 text-grey"> 转载请注明原文地址:https://www.9cbs.com/read-77368.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="77368" 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.057</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 = 'SPeStfKTTuu0Jfcb6sT8Uvy3_2BFSUC86TDWWmcxXiGTXvh3Z5zvtx26Wgh8mvhy6ssOBPwT1FKLXDm415UZI04g_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>