am having a hard time trying to make jquery lightbox in codeigniter work, what I want to happen is,pop a youtube thumbnail and play the video on the lightbox.I stored it outside my
application directory,I included it in my config file like this
$config['jquery'] = "js/jquery1.4.2.js";
then I include on the view file like this
<script type="text/javascript" src="<?php echo "$base"."js/jquery1.4.2.js"; ?>"></script>
<script type="text/javascript" src="<?php echo "$base"."js/js/jquery.lightbox-0.5.js"; ?>"></script>
<link rel="stylesheet" type="text/css" href="<?php echo "$base"."js/css/jquery-lightbox-0.5.css"; ?>" media="screen" />
the controller function is like this
$data['css'] = $this->config->item('css');
$data['jquery'] = $this->config->item('jquery');
$this->load->view('aboutus',$data);
and it doesn't work ..I tried the plugin on a static test html page, it works fine :(