Treehouse: Grow your CSS skills. Land your dream job.

Trouble with FancyBox

  • # April 24, 2012 at 12:26 pm

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

    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,

    # April 24, 2012 at 2:27 pm

    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.

    # April 24, 2012 at 2:47 pm

    YES! Thank you. I added / in front of lib/ in header.php file and all is well.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.