Add a visual indicator of the insertion point

This commit is contained in:
Tim Almdal
2009-08-13 18:58:40 -07:00
parent 5a84df9ac5
commit d758266fab
3 changed files with 39 additions and 16 deletions
@@ -1,9 +1,11 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? foreach ($item->children(25, $offset) as $child): ?>
<li id="gMicroThumb_<?= $child->id ?>"
<li class="gMicroThumbGridCell">
<div id="gMicroThumb_<?= $child->id ?>"
class="gMicroThumb <?= $child->is_album() ? "gAlbum" : "gPhoto" ?>"
ref="<?= $child->id ?>">
<?= $child->thumb_img(array("class" => "gThumbnail", "ref" => $child->id), 90, true) ?>
</div>
</li>
<? endforeach ?>
@@ -13,6 +15,7 @@
$.get("<?= url::site("organize/content/$item->id/" . ($offset + 25)) ?>",
function(data) {
$("#gMicroThumbGrid").append(data);
$.organize.set_handlers();
}
);
}, 50);