1 (edited by christinesmith1a1a 2017-11-27 16:40:04)

Topic: thumbnail tooltips

[Post deleted.]

Re: thumbnail tooltips

Juicebox was not designed with the ability to add unique tooltip text to individual thumbnails.
However, if you wanted to add the same tooltip text to all thumbnails, then you could use something like the following code:

<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
    var jb = new juicebox({
        containerId: "juicebox-container",
        galleryWidth: "100%",
        galleryHeight: "100%",
        backgroundColor: "222222"
    });
    jb.onInitComplete = function() {
        $('.jb-idx-thumb').attr('title', 'Tooltip Text Goes Here');
    };
    jb.onThumbPageChange = function(e) {
        $('.jb-idx-thumb').attr('title', 'Tooltip Text Goes Here');
    };
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

Just change the two instances of Tooltip Text Goes Here to whatever text you'd like to use.