aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 13:56:48 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 13:56:48 +0000
commit5c3d1255131f9fb2c45a5f116a541fac03e4bf0c (patch)
treebd9d3b1ba63fb58bf81f5c03c4d86f0dd7da20c3 /views/default/navigation
parent3d97e565abf2ca07f76a85362bc3369a14df3fc9 (diff)
downloadelgg-5c3d1255131f9fb2c45a5f116a541fac03e4bf0c.tar.gz
elgg-5c3d1255131f9fb2c45a5f116a541fac03e4bf0c.tar.bz2
new dropdown toolbar menu that works corss platform. Widget page layout fixed for ie6 & 7
git-svn-id: https://code.elgg.org/elgg/trunk@1759 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/topbar_tools.php23
1 files changed, 4 insertions, 19 deletions
diff --git a/views/default/navigation/topbar_tools.php b/views/default/navigation/topbar_tools.php
index e9b40b5c3..209b04da4 100644
--- a/views/default/navigation/topbar_tools.php
+++ b/views/default/navigation/topbar_tools.php
@@ -21,8 +21,9 @@
?>
-<ul id="tools_menu">
- <li><a href="#">Tools</a>
+<ul id="topbardropdownmenu">
+ <li class="drop"><a href="#">Tools<!--[if IE 7]><!--></a><!--<![endif]-->
+ <!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<?php
@@ -34,6 +35,7 @@
?>
</ul>
+ <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
@@ -42,20 +44,3 @@
}
?>
-
-<script type="text/javascript">
-function tools_menu(){
-$(" #tools_menu li").hover(function(){
- $(this).parent().parent().parent().find("#tools_menu a").addClass('tools_menu_on');
-
- },function(){
- $(this).parent().parent().parent().find("#tools_menu a").removeClass('tools_menu_on');
- });
-}
-
-
-
- $(document).ready(function(){
- tools_menu();
-});
-</script> \ No newline at end of file