0

I'm trying to include javascript cycle slider - Quicksand 1.2.1 But in the firebug console I'm getting this error:

$("#home_header ul").cycle is not a function

Can anyone help me with this?

here is the link to app http://mycompany.herokuapp.com

Dantes
  • 2,791
  • 6
  • 26
  • 34

2 Answers2

1

you should add this in your header:

<script type="text/javascript" src="http://malsup.github.com/jquery.cycle.all.js"></script>
mgraph
  • 15,238
  • 4
  • 41
  • 75
  • thanx for your reply. I believe I've included this file. Please have a look at the site: http://mycompany.herokuapp.com – Dantes May 06 '12 at 10:27
  • @Dantes your jquery should be before any script include – mgraph May 06 '12 at 10:31
  • I believe I've corrected that mistake, but the previous error is still there. Please take a look at the same link – Dantes May 06 '12 at 10:40
  • @Dantes make `cycle-6556170cff4f2d7f97486bb74287e736.js` first then `application-06d8fce4b0859d6166128af0830ed804.js` – mgraph May 06 '12 at 10:46
0

Are you using Quicksand? According to the docs, it would be $('#home_header ul').quicksand();

Winter
  • 368
  • 4
  • 15
  • I believe it's little bit adapted. Please take a look at this link: mycompany.herokuapp.com – Dantes May 06 '12 at 10:39