aboutsummaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-14 10:04:32 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-14 10:04:32 +0000
commitf19a6d8e1980e41988531cbef263a1351a7631ea (patch)
tree4ac917b3d19f5081f8e4aa5c1e513496971d5c0a /javascript
parent5139eadff45a90c6630388754884c35fecc91acf (diff)
downloadelgg-f19a6d8e1980e41988531cbef263a1351a7631ea.tar.gz
elgg-f19a6d8e1980e41988531cbef263a1351a7631ea.tar.bz2
friends picker modified for IE 6
git-svn-id: https://code.elgg.org/elgg/trunk@1914 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'javascript')
-rwxr-xr-xjavascript/friendsPickerv1.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/javascript/friendsPickerv1.js b/javascript/friendsPickerv1.js
index b1cad592d..eb3f6a15e 100755
--- a/javascript/friendsPickerv1.js
+++ b/javascript/friendsPickerv1.js
@@ -30,16 +30,13 @@ jQuery.fn.friendsPicker = function(iterator) {
// generate appropriate nav for each container
container.each(function(i) {
-
// generate Left and Right arrows
$(this).before("<div class='friendsPickerNavigationL' id='friendsPickerNavigationL" + iterator + "'><a href='#'>Left</a><\/div>");
$(this).after("<div class='friendsPickerNavigationR' id='friendsPickerNavigationR" + iterator + "'><a href='#'>Right</a><\/div>");
// generate a-z tabs
$(this).before("<div class='friendsPickerNavigation' id='friendsPickerNavigation" + iterator + "'><ul><\/ul><\/div>");
-
$(this).find("div.panel").each(function(individualTabItemNumber) {
-
$("div#friendsPickerNavigation" + iterator + " ul").append("<li class='tab" + (individualTabItemNumber+1) + "'><a href='#" + (individualTabItemNumber+1) + "'>" + $(this).attr("title") + "<\/a><\/li>");
});
@@ -88,13 +85,9 @@ jQuery.fn.friendsPicker = function(iterator) {
// apply 'current' class to currently selected tab link
$("div#friendsPickerNavigation" + iterator + " a:eq(0)").addClass("current");
-
});
-
- $("div#friendsPickerNavigation" + iterator).append("<br />");
- //$("div#friendsPickerNavigation" + iterator).hide();
-
+ $("div#friendsPickerNavigation" + iterator).append("<br />");
});
};