Return to Snippet

Revision: 335
at July 10, 2006 02:33 by rolandog

Initial Code
setInnerHTML: function(element,content) {
	element = $(element);
	if(element.hasChildNodes()) {
		content = document.createTextNode(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...

Initial Title
Make LiteBox work for application/xhtml xml and text/html

Initial Tags
javascript, html, xhtml, images

Initial Language