WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
How to set 'returnFocus' property (1 post)

  1. valerio.bulla
    Member
    Posted 1 year ago #

    I'm trying to disable the default behaviour that returns focus to the element that called the lightbox. According to changelog (version 2.2.1):

    By default, ColorBox returns focus to the element it was launched from once it closes. This can now be disabled by setting the 'returnFocus' property to false. Focus was causing problems for some users who had their anchor elements inside animated containers.

    How can I set the 'returnFocus' property to false?

    http://wordpress.org/extend/plugins/lightbox-plus/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic