summaryrefslogtreecommitdiff
path: root/public/javascripts/shadowbox/players/shadowbox-html.js
diff options
context:
space:
mode:
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