aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/topbar_tools.php33
1 files changed, 30 insertions, 3 deletions
diff --git a/views/default/navigation/topbar_tools.php b/views/default/navigation/topbar_tools.php
index eb8bbf652..f4893f7d4 100644
--- a/views/default/navigation/topbar_tools.php
+++ b/views/default/navigation/topbar_tools.php
@@ -22,6 +22,7 @@
?>
<style type="text/css">
+
#tools_menu, #tools_menu ul{
margin:0;
padding:0;
@@ -31,7 +32,10 @@
list-style-position:outside;
/*position:relative;
line-height:1.5em;*/
-
+}
+
+#tools_menu {
+ margin:0pt 15px 0pt 5px;
}
#tools_menu a {
@@ -39,7 +43,6 @@
padding:3px;
color:white;
text-decoration:none;
-
}
#tools_menu a:hover {
@@ -60,6 +63,8 @@
top:24px;
border-top:1px solid #333;
border-bottom:1px solid #333;
+
+ width:134px;
}
#tools_menu ul a {
@@ -117,4 +122,26 @@
}
-?> \ No newline at end of file
+?>
+
+<script type="text/javascript">
+function tools_menu(){
+$(" #tools_menu ul ").css({display: "none"}); // opera + ie fix
+$(" #tools_menu li").hover(function(){
+ $(this).find('ul:first').css("display", "none");
+ $(this).find('ul:first').slideDown("fast");
+ $(this).parent().parent().parent().find("#tools_menu a").addClass('tools_menu_on');
+
+ },function(){
+ $(this).find('ul:first').slideUp("fast");
+ $(this).parent().parent().parent().find("#tools_menu a").removeClass('tools_menu_on');
+ });
+}
+
+
+
+ $(document).ready(function(){
+ tools_menu();
+});
+</script>
+