Enable microthumbnail selection

This commit is contained in:
Tim Almdal 2009-08-09 09:00:10 -07:00
parent ebb44b05a2
commit 39d0098038
2 changed files with 10 additions and 7 deletions

View File

@ -95,11 +95,6 @@
padding: .5em;
}
.gMicroThumbContainer {
// padding: 0 .5em;
// opacity: .4;
}
.gMicroThumb {
display: block;
float: left;
@ -107,10 +102,16 @@
height: 9em;
margin-bottom: 1em;
margin-left: 1em;
opacity: .5;
text-align: center;
width: 9em;
}
.gMicroThumb.ui-selected {
opacity: 1;
}
.gThumbnail {
padding: .5em;
}

View File

@ -5,8 +5,8 @@
*/
init: function(data) {
// Deal with ui.jquery bug: http://dev.jqueryui.com/ticket/4475 (target 1.8?)
$(".sf-menu li.sfHover ul").css("z-index", 70);
$(".sf-menu li.sfHover ul").css("z-index", 68);
$("#gDialog").dialog("option", "zIndex", 70);
$("#gDialog").bind("dialogopen", function(event, ui) {
$("#gOrganize").height($("#gDialog").innerHeight() - 20);
$("#gMicroThumbPanel").height($("#gDialog").innerHeight() - 90);
@ -22,6 +22,8 @@
$(".gBranchText span").click($.organize.collapse_or_expand_tree);
$(".gBranchText").click($.organize.show_album);
$("#gMicroThumbGrid").selectable({filter: ".gMicroThumb"});
},
/**