PDA

View Full Version : Title Displayed When Hover Over Image


todd098
06-21-2007, 12:45 AM
On my photoblog (http://www.ppbt.net) when you hover over the image, the title of the previous image shows up. I think it has to do with the fact that clicking on the image takes you to the previous image. Is there anyway I can change what is displayed when you hover over the picture?

Thanks

dakwegmo
06-21-2007, 01:18 AM
In your image_template.html file you have this line

<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><img id="image" src="./images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="<IMAGE_PREVIOUS_TITLE>" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" /></a>


To make the text from title of the previous image to the title of the current image change the title attribute from,
title="<IMAGE_PREVIOUS_TITLE>"
to,
title="<IMAGE_TITLE>"

You can really put whatever you want in there, or just leave it out all together.

todd098
06-21-2007, 03:07 AM
Thanks, that did the trick!