I have problem with integrating jQuery plugins in CodeIgniter. I put plugin folder in my root folder.
I add this code into header
<script type="text/javascript" src="<?php echo base_url();?>plugin/jquery.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>plugin/html5gallery.js"></script>
and in my view file
<div style="display:none;" class="html5gallery" data-skin="vertical" data-width="480" data-height="272">
<!-- Add images to Gallery -->
<a href="images/Tulip_large.jpg"><img src="images/Tulip_small.jpg" alt="Tulips"></a>
<a href="images/Swan_large.jpg"><img src="images/Swan_small.jpg" alt="Swan on Lake"></a>
<!-- Add videos to Gallery -->
<a href="images/Big_Buck_Bunny.mp4"><img src="images/Big_Buck_Bunny.jpg" alt="Big Buck Bunny, Copyright Blender Foundation"></a>
<!-- Add Youtube video to Gallery -->
<a href="http://www.youtube.com/embed/YE7VzlLtp-4"><img src="http://img.youtube.com/vi/YE7VzlLtp-4/2.jpg" alt="Youtube Video"></a>
<!-- Add Vimeo video to Gallery -->
<a href="http://player.vimeo.com/video/1084537?title=0&byline=0&portrait=0"><img src="images/Big_Buck_Bunny.jpg" alt="Vimeo Video"></a>
</div
but i got error undefined is not a function
Any idea what i am doing wrong? Is it some conflict because i put file into view???