jQuery Lightbox Clone is not initialising properly
- by Neurofluxation
Hey, I have the following function on an onClick call:
function addComment() {
jQuery.noConflict()
jQuery('head').append('<link rel="stylesheet" media="screen" type="text/css" href="colorbox/colorbox-images.css" />'); //this doesn't add correctly.
jQuery.fn.colorbox({inline:false, href:'boxes/add-comment.html'});
…