I’ve been playing around and still can’t get this to work. My thumbnail gallery is loaded dynamically using xml and I have a link included with each thumbnail but can’t seem to get it to work to load the link with each thumnail.
In xml I have:
<pic>
<image>http://www.yoursite.com/images/image1.jpg</image>
<caption>Your caption</caption>
<thumbnail>http://www.yoursite.com/images/image1thn.jpg</thumbnail>
<link>http://www.anothersite.com</link>
</pic>
I’d like onRelease to open in another window so have tried this and variations of:
links* = xmlNode.childNodes*.childNodes[3].firstChild.nodeValue;
and also included:
clip.onRelease = function() {
p = this.linkValue-1;
getUrl(link,"_blank");
};
Any help or a link to kirupa tutorial if it’s too complicated would be great. :sen: