View Full Version : Popup text when hovering mouse over image
Anonymous
04-14-2005, 12:46 PM
Hi,
This is kind of a trivial thing, but here's the problem. When I hover my mouse over the current image, the title for the previous image is displayed as alt text. I want to have the Title of the current image displayed instead. Is there a simple way to do this?
Thanks,
Steve
You can just modify the image_template.html for the template you are using and change the alt tag there.
Anonymous
04-14-2005, 02:30 PM
Thank you! I'm new to this and that worked brilliantly!
-Steve
mgb123
04-14-2005, 03:20 PM
Can you post what code in the template you need to change?
Anonymous
04-14-2005, 08:52 PM
I got it to work using commando's advice. Thanks though mgb123!
Cheers,
Steve
I got it to work using commando's advice. Thanks though mgb123!
Cheers,
SteveI think he was asking that you post your change so that he could do the same ;)
mgb123
04-15-2005, 01:12 PM
sorry guys, should have said needed to change.
I'd love to change this on mine as well.
It depends on the template you are using, the following is for PP light, but should give you the idea;
Look for the image html in your template, something like;
<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>
Now change <IMAGE_PREVIOUS_TITLE> to <IMAGE_TITLE>.
Done :D
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.