PDA

View Full Version : Image w/ description tooltip v2.0 - dynamic image



andharri
07-26-2011, 08:56 AM
1) Script Title: Image w/ description tooltip v2.0

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex4/imagetooltip.htm

3)

Hi,

This is a really great piece of code, but is there an easy way to modify it such that instead of passing a reference to static array of images I can just pass the image name itself to make it more dynamic.

i.e. instead of:



<a href="#" rel="imgtip[0]">Link</a>

we have:



<a href="#" rel="image.png">Link</a>


I have tried modifying the js files, but I will probably end up destroying it!

Thanks