I installed pefectlightbox in TYPO3 7.6.31 and used it with jquery and found this failure: In line 45 of slimbox.2.0.4.js the overlay is not just added to the elements for close clicks, but will be appended (moved) as a child to the bottom div. I removed the ".add(overlay)" in this line and inserted a ".click(close)[0]" to the line 31 and now it works.
I installed pefectlightbox in TYPO3 7.6.31 and used it with jquery and found this failure: In line 45 of slimbox.2.0.4.js the overlay is not just added to the elements for close clicks, but will be appended (moved) as a child to the bottom div. I removed the ".add(overlay)" in this line and inserted a ".click(close)[0]" to the line 31 and now it works.