NextGEN Gallery Slideshow – How to show a Imagem Close Button
-
Yout need to modify the shutter-reloaded.js file (found in the plugin directory). It’s a good practice to make a backup before.
On the line 125, add the following:
closebtn = ‘<img src=”https://{your-domain.com}/wp-content/themes/{your-theme}/images/close.png” border=”0″/>‘;replace this code:
D.innerHTML = ‘<div id=”shWrap”><img src=”‘+shutterLinks[ln].link+'” id=”shTopImg” title=”‘ + t.msgClose + ‘” onload=”shutterReloaded.showImg();” onclick=”shutterReloaded.hideShutter();” />’ + NavBar +'</div>’;
to the following:
D.innerHTML = ‘<div id=”shWrap”><div id=”shTop” style=”margin: 0 auto;text-align: right;padding-right: 35px;padding-bottom: 10px;” id=”clbtn”>’ + closebtn + ‘</div><img src=”‘+shutterLinks[ln].link+'” id=”shTopImg” title=”‘ + t.msgClose + ‘” onload=”shutterReloaded.showImg();” onclick=”shutterReloaded.hideShutter();” />’ + NavBar +'</div>’;
- The topic ‘NextGEN Gallery Slideshow – How to show a Imagem Close Button’ is closed to new replies.