[Plugin: Shadowbox JS] Ability to add footer content (where the close/gallery info exists)?
-
I am looking to find out if its possible to modify the plugin to allow other information in the footer of an opened Shadowbox JS image?
When a user opens an image, Shadowbox loads, the image displays, and at the bottom below the image I have just a close button (not using any gallery). I would like to place additional material below such as a link to a page where that image exists, or additional notes about the image.
It appears that I could modify the JS file shadowbox.js in order to add in that content however, some of the links for example, would be dynamically created within WordPress (such as a link from an index image to the category page) and may not process correctly through the JS file.
Here is the code from the JS file:
<div id="sb-nav"> <a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a> <a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a> <a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a> <a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a> <a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a> </div>
It looks like that is the area I am trying to add more information to. Of course, the title is dynamic and being pulled from the rendered page too.
If anyone has some insight, it would be greatly appreciated.
Thanks.
- The topic ‘[Plugin: Shadowbox JS] Ability to add footer content (where the close/gallery info exists)?’ is closed to new replies.