Well, it depends. If you just want the sort of tool tip commonly associated with a title attribute, you should probably use:
http://www.dynamicdrive.com/dynamici...army/index.htm
which already has provision (optionally) for individual titles for each image, and can otherwise be made to look exactly like the script you are using.
If you have just one tip for all images and it can be a title type tool tip, you may edit the script you are currently using here:
Code:
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img title="My Tool Tip" src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
Or if you want to integrate another script that does tool tips, here would a good point of integration for that in the Ultimate Fade script:
Code:
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}
You should enable the mouseover pause, and add to the highlighted functions. The cachobj.curimageindex property would reference the array item number of the currently displayed image if required. Integrating another script might present code conflicts though.
Bookmarks