From f952040dd44b914b2d5e405567eb655757dfc85d Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 17 Sep 2009 11:03:35 +0200 Subject: added shadowbody, first js gallery initializer and template modifications --- public/javascripts/shadowbox/players/shadowbox-html.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/javascripts/shadowbox/players/shadowbox-html.js (limited to 'public/javascripts/shadowbox/players/shadowbox-html.js') diff --git a/public/javascripts/shadowbox/players/shadowbox-html.js b/public/javascripts/shadowbox/players/shadowbox-html.js new file mode 100644 index 0000000..e01f846 --- /dev/null +++ b/public/javascripts/shadowbox/players/shadowbox-html.js @@ -0,0 +1 @@ +(function(a){a.html=function(b){this.obj=b;this.height=b.height?parseInt(b.height,10):300;this.width=b.width?parseInt(b.width,10):500};a.html.prototype={append:function(b,e,c){this.id=e;var d=document.createElement("div");d.id=e;d.className="html";d.innerHTML=this.obj.content;b.appendChild(d)},remove:function(){var b=document.getElementById(this.id);if(b){a.lib.remove(b)}}}})(Shadowbox); \ No newline at end of file -- cgit v1.3