aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/submenu_js.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-27 13:01:46 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-27 13:01:46 +0000
commitdbdf001b867cb686beb6113d329eaa42b02ed4ca (patch)
tree3fc02bde08e43808b54def3f7ec2efe5eee4fb9a /views/default/navigation/submenu_js.php
parent330df93ca8d85c3a6064e231968f8ce61a693286 (diff)
downloadelgg-dbdf001b867cb686beb6113d329eaa42b02ed4ca.tar.gz
elgg-dbdf001b867cb686beb6113d329eaa42b02ed4ca.tar.bz2
removed menu code introduced for elgg.com that did not make it into 1.8
git-svn-id: http://code.elgg.org/elgg/trunk@7949 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/submenu_js.php')
-rw-r--r--views/default/navigation/submenu_js.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/views/default/navigation/submenu_js.php b/views/default/navigation/submenu_js.php
deleted file mode 100644
index 1ed710b2b..000000000
--- a/views/default/navigation/submenu_js.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-/**
- * Javascript to expand submenu items.
- *
- * @package Elgg
- * @subpackage Core
- */
-?>
-
-<script type="text/javascript">
-$(document).ready(function() {
- $('.submenu span.child_indicator').click(function() {
- var submenu = $(this).parent().parent().find('ul.submenu.child:first');
- var closeChild = $($(this).find('.close_child'));
- var openChild = $($(this).find('.open_child'));
-
- if (submenu.is(':visible')) {
- closeChild.addClass('hidden');
- openChild.removeClass('hidden');
- } else {
- closeChild.removeClass('hidden');
- openChild.addClass('hidden');
- }
-
- submenu.slideToggle();
- return false;
- });
-});
-</script> \ No newline at end of file