i am creating an application in which i am using image transitions slideshow. in image slideshow i used hyperlink to go another page. but page open in new window. i want page open in same window.
flashyslideshow.prototype.getSlideHTML=function (index) {
var slideHTML= (this.imagearray[index][1])?'<a href= "' + this.imagearray[index][1]+'" target = "'+this.imagearray[index][2]+ "_self" '">\n' : ''; //hyperlink slide?
slideHTML+='<img src="'+this.imagearray[index][0]+'" height="550" width="100%" >';
slideHTML+=(this.imagearray[index][1])? '</a><br />' : '<br />';
slideHTML+=(this.imagearray[index][3])? '<font face="bookman old style" color="blue" size="3">' + this.imagearray[index][3] : ''; //text description?
return slideHTML; //return HTML for the slide at the specified index
}
Inside your
<a>tag, addThis forces the link to open in the same window.