Use this modified version of the script (right click and 'Save As'):
jquery-slider.js
Now you can add an optional link and an optional target to the json, ex:
Code:
{
"playlist": [
{
"url": "img/img0.jpg",
"caption": "A bird perching on a twig.",
"link": "http://www.dynamicdrive.com/",
"target": "_blank"
},
{
"url": "img/img1.jpg",
"caption": "Lions lounging on the grass."
},
{
"url": "img/img2.jpg",
"caption": "Seagulls gazing collectively."
},
{
"url": "img/img3.jpg",
"caption": "Snail on a table."
},
{
"url": "img/img4.jpg",
"caption": "A lone wolf looks on..."
}
],
"hold_time":2,
"loops":2,
"transition_time":1
}
I'm only showing a link and target for the first image. Each may have them. If no target is specified, it will open on the same page.
Bookmarks