Explorar el Código

Забыл добавить JS файлик :)

Andrei hace 2 años
padre
commit
7f666abb31
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      static/js/showcase.js

+ 12 - 0
static/js/showcase.js

@@ -0,0 +1,12 @@
+function add_link()
+{
+    document.getElementById('add_link_button').style = 'display: none;';
+    document.getElementById('repeal_link_button').style = 'display: block;';
+    document.getElementById('form_link').style = 'display: block;';
+}
+function repeal_link()
+{
+    document.getElementById('add_link_button').style = 'display: block;';
+    document.getElementById('repeal_link_button').style = 'display: none;';
+    document.getElementById('form_link').style = 'display: none;';
+}