Grow your CSS skills. Land your dream job.

anythingSlider working with fancyBox?

  • # March 21, 2013 at 3:26 pm

    I’ve attempted to implement fancyBox and colorbox to the page listed below, however, the lightbox is not being generated onClick.

    I’m properly calling and generating the fancyBox in the example below, but it does not seem to initiate when the anchor element is clicked.

    [http://jsfiddle.net/jodriscoll/Xf7qf/](http://jsfiddle.net/jodriscoll/Xf7qf/ “http://jsfiddle.net/jodriscoll/Xf7qf/”)

    Quick note, the last two slides of the slideshow I’m using this within are the ones that will be initiating the fancyBox (#&panel-10 / #&panel1-11).

    This is associated with the following stackoverflow post: http://stackoverflow.com/questions/15555740/

    # March 22, 2013 at 8:36 pm

    Hi jodriscoll!

    After looking at this page (referenced in the StackOverflow question): http://www.massgeneral.org/international/dev/full-screen.aspx, I see numerous script errors in the console (press F12) one of which is a call to colorbox which isn’t even being loaded.

    To help better troubleshoot the problem, don’t use the minified version of jQuery or other scripts. That way you can at least find where in the code the problem is happening.

    Lastly, I see an error in the `mgh.js` script. Apparently IE8 doesn’t like the Mootools `getProperty` function. Do you really need to use Mootools and jQuery on the same page?

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".