diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-14 10:04:32 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-14 10:04:32 +0000 |
commit | f19a6d8e1980e41988531cbef263a1351a7631ea (patch) | |
tree | 4ac917b3d19f5081f8e4aa5c1e513496971d5c0a | |
parent | 5139eadff45a90c6630388754884c35fecc91acf (diff) | |
download | elgg-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
-rwxr-xr-x | javascript/friendsPickerv1.js | 9 | ||||
-rw-r--r-- | views/default/css.php | 24 |
2 files changed, 8 insertions, 25 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 />"); }); }; diff --git a/views/default/css.php b/views/default/css.php index bd3b71d42..cc82e5015 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -1582,7 +1582,7 @@ div.expandall p { } /* *************************************** - FRIENDS PICKER + FRIENDS PICKER SLIDER *************************************** */ .friendsPicker_container h3 { font-size:3em; text-align: left; margin:0 0 20px 0; color:#999999; } @@ -1600,7 +1600,7 @@ div.expandall p { } .friendsPicker { - /*position: relative;*/ + position: relative; overflow: hidden; margin: 0; padding:0; @@ -1638,11 +1638,7 @@ div.expandall p { .friendsPickerNavigation { margin: 0 0 10px 0; padding:0; - -/* - display:none; - -*/} +} .friendsPickerNavigation ul { list-style: none; @@ -1708,10 +1704,6 @@ div.expandall p { .friendsPickerNavigationL a, .friendsPickerNavigationR a { display: block; -/* - height: 87px; - width: 43px; -*/ height: 43px; width: 43px; } @@ -1798,7 +1790,7 @@ div.expandall p { /* *************************************** WIDGET PICKER (PROFILE & DASHBOARD) *************************************** */ -/* open 'customise page' panel button */ +/* 'edit page' button */ a.toggle_customise_edit_panel { float:right; clear:right; @@ -1839,7 +1831,7 @@ a.toggle_customise_edit_panel:hover { /* RHS (widget gallery area) */ #customise_editpanel_rhs { float:right; - width:230px; /* was 230px */ + width:230px; background:white; } #customise_editpanel #customise_editpanel_rhs h2 { @@ -1849,10 +1841,9 @@ a.toggle_customise_edit_panel:hover { padding:6px; } #widget_picker_gallery { - /* float:right;*/ border-top:1px solid #cccccc; background:white; - width:210px; /* was 210px */ + width:210px; height:340px; padding:10px; overflow:scroll; @@ -1958,7 +1949,7 @@ a.toggle_customise_edit_panel:hover { } #widget_picker_gallery table.draggable_widget h3 { word-wrap:break-word; - width:145px;/* was 140px */ + width:145px; line-height: 1.1em; overflow: hidden; padding:4px; @@ -1984,7 +1975,6 @@ a.toggle_customise_edit_panel:hover { } /* droppable area hover class */ .droppable-hover { - /* outline: 2px dotted red; */ background:#fdffc3; } /* target drop area class */ |