aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/topbar_tools.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-23 13:39:38 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-23 13:39:38 +0000
commite4fab2b9f5320d064f68ac16f6103f2ed11c0b86 (patch)
treeaaae06e48a7fdad523f76d62ed3efa46274d1342 /views/default/navigation/topbar_tools.php
parent1c41df46a1d678b2d1ef2bdc0c71a5d5288055b2 (diff)
downloadelgg-e4fab2b9f5320d064f68ac16f6103f2ed11c0b86.tar.gz
elgg-e4fab2b9f5320d064f68ac16f6103f2ed11c0b86.tar.bz2
new cross-browser js toolbar menu
git-svn-id: https://code.elgg.org/elgg/trunk@2606 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/topbar_tools.php')
-rw-r--r--views/default/navigation/topbar_tools.php18
1 files changed, 8 insertions, 10 deletions
diff --git a/views/default/navigation/topbar_tools.php b/views/default/navigation/topbar_tools.php
index 03e7317c8..9b0c06786 100644
--- a/views/default/navigation/topbar_tools.php
+++ b/views/default/navigation/topbar_tools.php
@@ -27,25 +27,23 @@
?>
<ul id="topbardropdownmenu">
- <li class="drop"><a href="#"><?php echo(elgg_echo('tools')); ?><!--[if IE 7]></a><![endif]-->
- <!--[if lte IE 6]><table><tr><td><![endif]-->
- <ul>
+ <li class="drop"><a href="#" class="menuitemtools"><?php echo(elgg_echo('tools')); ?></a>
+ <ul>
<?php
-
foreach($alphamenu as $item) {
-
echo "<li><a href=\"{$item->value}\">" . $item->name . "</a></li>";
-
}
-
?>
</ul>
- <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
-<?php
+<script type="text/javascript">
+ $(function() {
+ $('#topbardropdownmenu').elgg_topbardropdownmenu();
+ });
+</script>
+<?php
}
-
?>