If you need the change the location of the image (ie picture on the left side of the link rather than the right) look at the RED part highlighted.
It would work fine if you had 3000 links/pictures.. the only problem is that you would need to specify ALL of them (highlighted in ORANGE) plus it might be a bit slow, since I don't see any pre-loading on here. You would have to add some other preload script
Code:
var ddimgtooltip={
tiparray:function(){
var tooltips=[]
//define each tooltip below: tooltip[inc]=['path_to_image', 'optional desc', optional_CSS_object]
//For desc parameter, backslash any special characters inside your text such as apotrophes ('). Example: "I\'m the king of the world"
//For CSS object, follow the syntax: {property1:"cssvalue1", property2:"cssvalue2", etc}
tooltips[0]=["red_balloon.gif", "Here is a red balloon<br /> on a white background", {background:"#FFFFFF", color:"black", border:"5px ridge darkblue"}]
tooltips[1]=["duck2.gif", "Here is a duck on a light blue background.", {background:"#DDECFF", width:"200px"}]
tooltips[2]=["../dynamicindex14/winter.jpg"]
tooltips[3]=["../dynamicindex17/bridge.gif", "Bridge to somewhere.", {background:"white", font:"bold 12px Arial"}]
return tooltips //do not remove/change this line
}(),
tooltipoffsets: [20, -30], //additional x and y offset from mouse cursor for tooltips
And then in your HTMl you will need to do 3000 links
Code:
<p><a href="http://www.dynamicdrive.com" rel="imgtip[0]">Link 1</a></p>
Bookmarks