From the simple line
<a href="images/bananas.jpg" title="A bunch of bananas on a table">some bananas</a>, we add code, creating
How to solve it?
Simple – We know that the gallery images are all contained in a
<ul> elements that are given the class “gallery”. All links within that are then dynamically amended to include the event code