Open
Description
I've just replaced lightbox 2.7.1 with 2.8.2. To start with, I would expect it to be a 100% backward-compatible drop-in replacement that would work out of the box where the previous version used to work, otherwise you should call it 3.x.
Then I found out what the breaking change is:
Include the Javascript at the bottom of your page before the closing
</body>
tag:
The old version used to work by placing it in the <head>
. Besides the fact that a decently designed script would work either way, having it in <head>
is far more elegant and it is the way most modern frameworks and libraries work.
You are going backwards, making things worse rather than better. I'm definitely done with Lightbox.