Uncaught Error : Function not defined
I am trying to embed scrollbox in my webpage
http://svanubhuti.in/core/itad/corbod1.php with include method. . When i load that webpage, each jquery library gets loaded but scrolling effect is not working.
When i check it in console, it shows
Uncaught error : function not defined
Please help. I'm really confused.
Source code of embedded file is as follows..
-
- <link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet">
- <link href="demo.css" rel="stylesheet">
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
- <script src="jquery.scrollbox.js"></script>
- <script>
- $(function () {
- $('#demo5').scrollbox({
- direction: 'h',
- autoPlay: false,
- switchItems: 5,
- distance:1235
-
- });
- $('#demo5-backward').click(function () {
- $('#demo5').trigger('backward');
- });
- $('#demo5-forward').click(function () {
- $('#demo5').trigger('forward');
- });
- });
- </script>
- <div class="container">
- <div class="body-content">
- <div id="demo5" class="scroll-img">
- <ul>
- <li>
- <a href="#">
- <div class="in">
- <img src="../image2.jpg" />
- <h2 class="lesson_name" >Divine Quality</h2>
- <h1 class="lesson_sum">dtjngiu dgi nt ugige rtghin rgnnn thrnhnr rtnrn ngnrg rjnri.</h1>
- </div>
- </a>
- </li>
- <li>
- <a href="#">
- <div class="in">
- <img src="../image2.jpg" />
- <h2 class="lesson_name" >Divine Quality</h2>
- <h1 class="lesson_sum">dtjngiu dgi nt ugige rtghin rgnnn thrnhnr rtnrn ngnrg rjnri.</h1>
- </div>
- </a>
- </li>
- </ul>
- </div>
- <div id="demo5-btn" class="text-center">
- <button class="btn" id="demo5-backward"><i class="icon-chevron-left"></i> Backward</button>
- <button class="btn" id="demo5-forward">Forward <i class="icon-chevron-right"></i></button>
- </div>
- </div>
- </div>
-
-