I have placed relevant code in the <head> and <script> html sections, and the .js files in the same directory as the .html
I tried placing this code on the button - with ".vimeo" being the colorbox event element to be called but no luck - any help on how to do this would be much appreciated (or a better way to do it)
jQuery(document).ready(function($) {
jQuery('.vimeo').live('click', function(){
newwindow=window.open($(this).attr('http://player.vimeo.com/video/2285902'),'height=200,width=150');
if (window.focus) {newwindow.focus()}
return false;
});
});
cheers
m