About in the middle of the script where it has:
Code:
Lightbox.prototype.start = function($link) {
var $lightbox, $window, a, i, imageNumber, left, top, _len, _ref;
$(window).on("resize", this.sizeOverlay);
$('select, object, embed').css({
visibility: "hidden"
});
$('#lightboxOverlay').width($(document).width()).height($(document).height()).fadeIn(this.options.fadeDuration);
this.album = [];
imageNumber = 0;
if ($link.attr('rel') === 'lightbox') {
this.album.push({
link: $link.attr('href'),
title: $link.attr('title')
});
} else {
_ref = $($link.prop("tagName") + '[rel="' + $link.attr('rel') + '"]');
for (i = 0, _len = _ref.length; i < _len; i++) {
a = _ref[i];
this.album.push({
link: $(a).attr('href'),
title: $(a).attr('title')
});
if ($(a).attr('href') === $link.
Change both of those highlighted lines to use the rev attribute:
Code:
Lightbox.prototype.start = function($link) {
var $lightbox, $window, a, i, imageNumber, left, top, _len, _ref;
$(window).on("resize", this.sizeOverlay);
$('select, object, embed').css({
visibility: "hidden"
});
$('#lightboxOverlay').width($(document).width()).height($(document).height()).fadeIn(this.options.fadeDuration);
this.album = [];
imageNumber = 0;
if ($link.attr('rel') === 'lightbox') {
this.album.push({
link: $link.attr('href'),
title: $link.attr('rev')
});
} else {
_ref = $($link.prop("tagName") + '[rel="' + $link.attr('rel') + '"]');
for (i = 0, _len = _ref.length; i < _len; i++) {
a = _ref[i];
this.album.push({
link: $(a).attr('href'),
title: $(a).attr('rev')
});
if ($(a).attr('href') === $link.
Then, in your markup change title to rev so that:
Code:
<a href="Vegas03_P6020003m.JPG" rel="lightbox[Vegas03]" title="Mom happy to be back in Vegas! <br> <a target=”_blank” href='http://mmyerkes.com/Vegas03_P6020003.JPG'>Full Size</a>">
Becomes:
Code:
<a href="Vegas03_P6020003m.JPG" rel="lightbox[Vegas03]" rev="Mom happy to be back in Vegas! <br> <a target=”_blank” href='http://mmyerkes.com/Vegas03_P6020003.JPG'>Full Size</a>">
If you still want a title on hover, you can add one back to the link. It can be whatever you like. It will not be used by lightbox. Like for the above it could be:
Code:
title="Mom happy to be back in Vegas!"
So then you would have:
Code:
<a href="Vegas03_P6020003m.JPG" rel="lightbox[Vegas03]" title="Mom happy to be back in Vegas!" rev="Mom happy to be back in Vegas! <br> <a target=”_blank” href='http://mmyerkes.com/Vegas03_P6020003.JPG'>Full Size</a>">
Bookmarks