When creating the script I actually tried to have the script support link targets automatically. The problem I ran into is basically with certain pop up blockers such as that built into Google ToolBar. Browsers with that will block the script from opening a new window programmatically using window.open() based on the presence of the "target" attribute.
If the above is not an issue for you (ie: your page is on an intranet where users all use the same browser), inside the .js file, you'd replace:
Code:
window.location=imageinfo.$link.attr('href')
with:
Code:
if (imageinfo.$link.attr('target'))
window.open(imageinfo.$link.attr('href'), imageinfo.$link.attr('target'))
else
window.location=imageinfo.$link.attr('href')
Bookmarks