I want to pop a youtube link into one of the cool lightboxes used by the ImageGalleryModule. From Another page on my site. My home page in fact
I have link to the prettyphoto.js file in image_gallery/javascript/prettyphoto/prettyphoto.js
and have used the code form prettyphoto web site to try and implemet lightbox
http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/
but i think there is some kind of jquery problem
i drop the below into the page just before closing </body> tag as instructed and have also tried to change $ - $jQuery.
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
});
</script>
Does anyone know why this would not work I am definately linking to the prettyphoto.js file as put in an alert to test :(