JerenB
Junior Member
Posts: 2
Registered: 8/27/2007
Member Is Offline
|
| posted on 8/27/2007 at 05:46 AM |
|
|
Tigra Hints picture caption
Hopefully someone can help me. I'm trying to use tigra hints for pictures on a website. For the life of me I cant figure out how to make a caption at
the bottom of the pop up picture. In the examples provided it shows the caption "This is a puma." How would I be able to add something like that to
my pictures?
|
|
|
tigra
Administrator
Posts: 1976
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/27/2007 at 07:51 PM |
|
|
Basically you give the script the HTML to display in the pop-up. If you want to add some text to the image you show then just put that in the HTML.
For example instead of:
'tt1': '<img src="img/k001.jpg" border="1" />',
give it
'tt1': '<img src="img/k001.jpg" border="1" /><div>Your text here</div>',
feel free to use tables or CSS for formatting inside the hint.
|
|
|
JerenB
Junior Member
Posts: 2
Registered: 8/27/2007
Member Is Offline
|
| posted on 8/28/2007 at 02:47 AM |
|
|
Thanks for the information. It looks like it's working great now.
|
|
|