/ Published in: JavaScript

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/
http://www.doknowevil.net/litebox/
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// 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); }
Comments
