Forums

Get help. Give help. A Web Design and Development Community.

Close Colorbox from menu

  • # April 9, 2013 at 8:02 am

    Hey,

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

    If you go to: http://oandg.co.uk.s156312.gridserver.com/#work

    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?

    Thanks

    # 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() {
    $.colorbox.close();
    });

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

You must be logged in to reply to this topic.

We have a pretty good* newsletter.