Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Dynamic Pages + FancyBox. Troubleshooting.

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #178319
    dr bowman
    Participant

    I’m currently using the fantastic script found here…

    https://css-tricks.com/dynamic-page-replacing-content/

    with a basic CSS lightbox on my images page.

    The problem is, the sharp CSS lightbox doesn’t really look good with the smooth transition of the pages. I’ve been trying to implement FancyBox with…

    $(document).ready(function() {
            $(".fancybox").fancybox();
        });

    but seemingly no matter where I put this code, or the $(); portion of this code, it won’t work. Is there a solution to this, or should I just be searching for design alternatives that don’t rely on jquery/js?

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.