aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2009-10-27 11:09:08 -0200
committerSilvio <s1lv10@uol.com.br>2009-10-27 11:09:08 -0200
commit28af7cf76cba40ef80c0dc9852b2d4034d742fd3 (patch)
tree015def8c15ee4781a20396ac06dbb40d138b617b
parent0f9c9f414edf2d9e19f5c970ddb73188f61e5494 (diff)
downloadfinder_menu-28af7cf76cba40ef80c0dc9852b2d4034d742fd3.tar.gz
finder_menu-28af7cf76cba40ef80c0dc9852b2d4034d742fd3.tar.bz2
Using valid id values for ul elements (3)
-rw-r--r--finder_menu.js2
-rw-r--r--finder_menu.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/finder_menu.js b/finder_menu.js
index 9de4f56..378e743 100644
--- a/finder_menu.js
+++ b/finder_menu.js
@@ -51,7 +51,7 @@ function ul2finder()
// setup the link
ref = lis[i].getElementsByTagName('a')[0];
- ref.id = 'finder_' + i;
+ ref.id = 'finder-' + i;
window.finderOpened[ref.id] = false;
// if the user clicks on the link
diff --git a/finder_menu.module b/finder_menu.module
index dcd6fb1..a372112 100644
--- a/finder_menu.module
+++ b/finder_menu.module
@@ -167,7 +167,7 @@ function finder_menu_build($menu, $id, $class, &$level = NULL) {
$level = 0;
}
else {
- $output = '<ul id="'. $id .'_ul_'. $level .'" class="'. $class .'">';
+ $output = '<ul id="'. $id .'-ul-'. $level .'" class="'. $class .'">';
}
foreach ($menu as $menu_item) {