|
#1
|
|||
|
|||
|
Custom image ALT text?
How would I implement a customized ALT text when the mouse rolls over the image?
Example website: http://steff.altervista.org/index.php I would like to have more information in the ALT text other than the name of the previous image. Thanks Mike |
|
#2
|
||||
|
||||
|
http://neo.dzygn.com/archive/2003/12/nicer-titles is a popular script for it
__________________
i should say more clever stuff |
|
#3
|
|||
|
|||
|
doh!
![]() I used to OVERLIB library, found in the ratings addon ![]() as suggested by the creator of this addon, I just modified my template in this way: 1) in the head part, add Code:
<script type="text/javascript" src="overlib/overlib.js"></script> <script type="text/javascript" src="overlib/overlib_fade.js"></script> Code:
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"
onmouseover="return overlib('Click to see previous image: <b><IMAGE_PREVIOUS_TITLE></b>', BGCOLOR, '#333366', FGCOLOR, '#FFFFFF', OPACITY, '60' );"
onmouseout="return nd();">
<img id="image" src="images/<IMAGE_NAME>" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" /></a>
|
|
#4
|
|||
|
|||
|
Thank you both! You have been extremely helpful.
|
|
#5
|
|||
|
|||
|
Does anyone know how to modify steffs code to display the previous image thumbnail instead of the previous image id? I tried to get the overlib to "float" the thumb but did not have any success. For now I have used steffs code to display the prev image name only.
Thanks Craig http://www.trailsoflight.com/index.php |
| Post Reply |
| Thread Tools | |
|
|