treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] Trouble with FancyBox

  • On this page (index) FancyBox works great... Click on one of the images and fancybox.js and jQuery does there thing.

    BUT,
    On this page FancyBox won't work when you click on images. I can't figure out why. Scripts seem to be loading okay. Could it be a problem with the paths for the scripts?

    Any ideas?

    Thank you,
    Charlie
  • It's because your /press/lib/jquery-cycle-all.js file is throwing an error. It looks like it has a bunch of HTML in it as if it's supposed to be a page. This is probably causing all other scripts on the page to fail.
  • YES! Thank you. I added / in front of lib/ in header.php file and all is well.