In my usecase I need to perform some javascript actions prior to opening colorbox. According to documentation there is onLoad property for that. But because triggering colorbox is done in the module I would like to propose to add a hook (custom event on document object) that we can then hook into.

See attached patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ygerasimov’s picture

Status: Active » Needs review
FileSize
456 bytes
frjo’s picture

Status: Needs review » Closed (outdated)