From 075fc6727762d4e45ddcae5843eec0100ad3ab72 Mon Sep 17 00:00:00 2001 From: Jeroen Date: Sun, 27 Jul 2014 21:44:34 +0000 Subject: Improved photo view page. Added a delete button, stylized other button and rearangend divs a but. I even made a javascript function (copied is the right word). I changed the application (non-posts) font size (temporary) to 14px, same as button (btn) font size. I like to change all font sizes to 1.0rem (posts) and 0.8rem (application) in the near future, but I will test that first on my hub. --- view/js/main.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'view/js') diff --git a/view/js/main.js b/view/js/main.js index c803ad538..eeee9e3ab 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -156,6 +156,15 @@ } } + function closeOpen(theID) { + if(document.getElementById(theID).style.display == "none") { + document.getElementById(theID).style.display = "block" + } + else { + document.getElementById(theID).style.display = "none" + } + } + function openMenu(theID) { document.getElementById(theID).style.display = "block" } -- cgit v1.2.3