baggs1981
08-31-2011, 11:00 AM
1) Script Title: Image w/ description tooltip v2.0
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm
3) Describe problem: I have implimented this and it is working great, however, what I would like to do is to change one of the tooltip images depending on the text entered in a textbox which obviously happens after the page has loaded all the tooltips already. I am trying the below which I hope gives an idea of what I want to do.
window.sLink="http://intranet/TelephoneDirectory/Handler/GetImage.ashx?ID=";
window.sParm="&S=LLP&W=50";
imgtip1.src = sLink + IDNow + sParm;
It doesn't give any errors but also doesn't alter the src of the tooltip image. In the Tooltip array it is number 1 which I want to change the source image for dynamically.
If any ideas please let me know, someone asked a similary question already but there is no suggestions on that post yet.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm
3) Describe problem: I have implimented this and it is working great, however, what I would like to do is to change one of the tooltip images depending on the text entered in a textbox which obviously happens after the page has loaded all the tooltips already. I am trying the below which I hope gives an idea of what I want to do.
window.sLink="http://intranet/TelephoneDirectory/Handler/GetImage.ashx?ID=";
window.sParm="&S=LLP&W=50";
imgtip1.src = sLink + IDNow + sParm;
It doesn't give any errors but also doesn't alter the src of the tooltip image. In the Tooltip array it is number 1 which I want to change the source image for dynamically.
If any ideas please let me know, someone asked a similary question already but there is no suggestions on that post yet.