Initializing a Gallery Wall for Youtube videos
1) Script Title: YouTube Gallery Wall
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...llery-wall.htm
3) Describe problem:
Initializing a Gallery Wall:
Once the markup for a gallery wall has been defined, simply initialize it by calling the jQuery function: (How do I do this? Where to put the code? (In red)
Code:
$(galleryULref).youtubegallery()
after the DOM has loaded, where galleryULref is a jQuery reference to the UL element containing the Youtube links, for example:
Code:
<script>
jQuery(function(){ // on DOM load
//syntax $(selector).youtubegallery()
$('#youtubelist').youtubegallery()
})
</script>
Thanks for your help
Luis