3298
правок
Изменения
м
/* Размещённый здесь код JavaScript будет загружаться только участникам, имеющим статус администраторов (sysops) */#footer-info-lastmod {display: block;jQuery(document).ready(function($) {} if(!$("body").hasClass("action-edit"))textarea#wpTextbox1 { return left: -1000px; position: absolute; var cursor;} window.onload = init_cursor; function init_cursor() cursor { $("#cursor").css("left", "0px") font-size: 12px; } function nl2br(txt) { return txt.replace(/\n/g, "<br />") background-color: blue; } function writeit(from, e) { e = e || window.event color: blue; var w = $("writer") position: relative; var tw = from opacity: 0.value5; w height: 1.innerHTML = nl2br(tw)5em; } width: 3px; function moveIt(count, e) { e = e || window.event max-width: 3px; var keycode = e.keyCode || e.which overflow: hidden; if (keycode === 37 && parseInt(cursor.style.left) >= (0 text- ((count indent: - 1) * 10))) {5px; cursor.style.left = parseInt(cursor.style.left) display: inline- 10 + "px"block; } else if (keycode === 39 && (parseInt(cursor.style.left) + 10) <= 0) { text-decoration: blink; cursor.style.left = parseInt(cursor.style.left) + 10 + "px" animation: blinker 1s linear infinite; } } var terminal = $("<div id='terminal'></div>"); var textBox = $("textarea#wpTextbox1"); var parent = textBox.parent(); parent.append(terminal);{ /*textBox.appendTo(terminal) margin: 8px; terminal.append('<div id="getter"><span id="writer"></span><b class="cursor" id=" cursor">B</b></div>'): text; terminal.on("click", function(e) { height: 500px; $("textarea#wpTextbox1").focus() overflow: auto; }); textBox.on("keydown", function(e) #writer { writeit(this font-family: cursor, e)courier; moveIt(this.value.length, e) font-weight: bold; }); textBox.on("keypress keyup", function(e) #getter { writeit(e) margin: 5px; });*/@keyframes blinker { console 50% { opacity: 0.log("I'm work!")0;}});
Отмена правки 46315, сделанной Admin (обсуждение)