Revision: 335
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 10, 2006 02:33 by rolandog
Initial Code
// http://www.doknowevil.net/litebox/ setInnerHTML: function(element,content) { element = $(element); if(element.hasChildNodes()) { element.removeChild(element.firstChild); } content = document.createTextNode(content); element.appendChild(content); }
Initial URL
Initial Description
Directions: be sure to set to absolute paths every image location from your litebox-1.0.js and lightbox.css files... and, replace the setInnerHTML function with this one... http://www.doknowevil.net/litebox/
Initial Title
Make LiteBox work for application/xhtml xml and text/html
Initial Tags
javascript, html, xhtml, images
Initial Language
JavaScript