From c86c1a829bdeb0109b0cb841749c412c835211e2 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Fri, 19 Aug 2011 17:12:27 +0100 Subject: [PATCH] Header changes for admin menu, etc. --- application/views/layout/header.php | 35 +++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/application/views/layout/header.php b/application/views/layout/header.php index 1ea3f986..89a0d7ba 100644 --- a/application/views/layout/header.php +++ b/application/views/layout/header.php @@ -15,6 +15,10 @@ // Accordion $("#tabs").tabs(); $( "button, input:submit", ".wrap_content" ).button(); + $( "#admin" ).click(function() { + $( "#submenu" ).toggle( 'blind', null, 500 ); + return false; + }); });