title: Calling a css from a js using Symfony 2
body: <p>I have this gallery the designer handed to me, and I have to put it on my twig. The thing is the slider is not working. This is the code (the js with the problem):</p>
  
  <pre><code>$(function () {
      var demo1 = $("#demo1").slippry({
          transition: "fade",
          useCSS: true,
          speed: 2e3,
          pause: 4e3,
          auto: true,
          preload: "visible"
      });
      $(".stop").click(function () {
          demo1.stopAuto()
      });
      $(".start").click(function () {
          demo1.startAuto()
      });
      $(".prev").click(function () {
          demo1.goToPrevSlide();
          return false
      });
      $(".next").click(function () {
          demo1.goToNextSlide();
          return false
      });
      $(".reset").click(function () {
          demo1.destroySlider();
          return false
      });
      $(".reload").click(function () {
          demo1.reloadSlider();
          return false
      });
      $(".init").click(function () {
          demo1 = $("#demo1").slippry();
          return false
      })
  });
  </code></pre>
  
  <p>The error is in the part where it includes one of my css files, the one called "slippry". The error says: "Undefined function or method". My question is: Do I have to call this css file in another way to make the slider work? Do I have to change the path?</p>