summaryrefslogtreecommitdiff
path: root/public/javascripts/shadowbox/players/shadowbox-html.js
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-09-17 11:03:35 +0200
committerhukl <contact@smyck.org>2009-09-17 11:03:35 +0200
commitf952040dd44b914b2d5e405567eb655757dfc85d (patch)
tree7e210b01734bd7f311009c705e80027e85468cca /public/javascripts/shadowbox/players/shadowbox-html.js
parentbb4afc944049652f1c51124808fd64de6ebe338a (diff)
added shadowbody, first js gallery initializer and template modifications
Diffstat (limited to 'public/javascripts/shadowbox/players/shadowbox-html.js')
-rw-r--r--public/javascripts/shadowbox/players/shadowbox-html.js1
1 files changed, 1 insertions, 0 deletions
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