Hi guys. First of all, thanks for the program, it seems pretty cool. However, I am having difficutly getting it working in a usefull way
I am pulling image names from a database and looping thru the results and displaying the images and trying to get Tigra hints to display the fullsize image when I mouseover.
For now I am just trying to do a simple loop with one hard coded image URL and it is not working. Can someone show me how to use this thing in a loop please?
Here is the code I am working with.
you're looping through whole thing. this makes 3 instances of the variables with the same names and causes other problems. Instead you should loop inside HINTS_ITEMS = [ .. ] creating three hints and then loop where you create three originating elements printing incrementing the number in myHint.show(..)
Ok, this took some serious figuring on my part, but I finaly got it sorted. Here is an example of how to dynamicaly pull images out of a database and
hook them up with the image hints from Tigra.
This is PHP code and some irrelevant code is left out to simplify things.... If anyone has a better way of doing it, please let me know.