The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Close Colorbox from menu

  • # April 9, 2013 at 8:02 am


    Does anyone know how I would go about closing a Colorbox from a menu?

    If you go to:

    Hover over an image and click ‘Load’. At the moment the navigation links go to the right area of the page but the colorbox overlay is still there – is there way of killing colorbox when a navigation link is clicked?


    # April 9, 2013 at 8:05 am

    This reply has been reported for inappropriate content.

    Don’t worry – this did the trick:

    $(“.colorboxCloseBtn”).click(function() {

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed