From 9cc4f0d94feb2503344baf925b4c59f1769a4fdc Mon Sep 17 00:00:00 2001 From: Maxim Lihachev Date: Thu, 21 Sep 2017 16:55:36 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B2=D0=B0=D1=80=D0=B8=D0=B0=D0=BD=D1=82=20=D0=BD?= =?UTF-8?q?=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/feminitives.css | 8 ++++++++ feminizator.html | 7 ++++++- js/feminitives.js | 10 ++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/css/feminitives.css b/css/feminitives.css index 944120e..5aef497 100644 --- a/css/feminitives.css +++ b/css/feminitives.css @@ -36,6 +36,14 @@ button:hover { background: #38A0E4; } +#title, #suffix { + cursor: pointer; +} + +#suffix { + display: none; +} + #definition { padding: 1%; width: 50%; diff --git a/feminizator.html b/feminizator.html index 78a5a5e..6d5d20d 100644 --- a/feminizator.html +++ b/feminizator.html @@ -17,7 +17,7 @@
-

Феминизаторv1.4

+

Феминизатор_ка v1.4

@@ -46,6 +46,11 @@ ? + +
+
+ + ⛀⛁⛃⛂
diff --git a/js/feminitives.js b/js/feminitives.js index fe88e12..24b18a0 100644 --- a/js/feminitives.js +++ b/js/feminitives.js @@ -41,6 +41,16 @@ function show_help() { HTML.vis(HTML.content()); } +//Смена названия по клику +function swap_title(id) { + var e = document.getElementById(id); + if(e.style.display == 'inline') { + e.style.display = 'none'; + } else { + e.style.display = 'inline'; + } +} + HTML.vis = function(e, v) { if (v !== undefined) { e.style.visibility = v;