Testing · Ajax

Fetch a local file: colorbox::file('a.homer', $file); colorbox with homer

Fetch content:

colorbox::content('a.example', $content); Running foobars

colorbox::content('a.videoclip', $object, '{innerWidth:513, innerHeight:295}'); Embbed html object code - plays a videoclip from external page

Fetch embedded page: colorbox::assign('a.youtube', '{iframe:true, innerWidth:640, innerHeight:390}'); Space Night Video - iframe/direct link to YouTube