Attachments and their list now provide "ajax" view. Also added a few sidebars relating tags and attachments.

This commit is contained in:
Robin Millette
2009-05-15 15:04:58 -04:00
parent 2e394ef47c
commit fecb8c706d
17 changed files with 1243 additions and 18 deletions

View File

@@ -17,6 +17,10 @@
*/
$(document).ready(function(){
$('.attachments').click(function() {$().jOverlay({zIndex:999, success:function(html) {$('.attachment').click(function() {$().jOverlay({url:$(this).attr('href') + '/ajax'}); return false; });
}, url:$(this).attr('href') + '/ajax'}); return false; });
$('.attachment').click(function() {$().jOverlay({url:$(this).attr('href') + '/ajax'}); return false; });
// count character on keyup
function counter(event){
var maxLength = 140;