[jQuery] RE: Anchors & Images Tutorial
I have had a look at this tutorial by Malsup and simply, you can add
an a link to the image slides.
However, for me like the tutorial with:
function onAfter() {
$('#output').html("Current anchor: " + this.href);
I have for myself:
before: onBefore,
pager: '#featurenav'
});
function onBefore() {
jQuery('#headline').html(this.alt);
}
});
The image slides are held within a div and it is simply: <a
href=""><img src="" alt="something" /></a>.
But adding the a link to the img src tag does not make the alt text
appear but the image does link. How can I get the a link to the image
AND the alt text to appear as well?