Ver Mensaje Individual
  #6 (permalink)  
Antiguo 27/10/2008, 03:35
devil360
 
Fecha de Ingreso: abril-2008
Mensajes: 24
Antigüedad: 16 años
Puntos: 0
Respuesta: Añadir Tooltip a sistema de Thumbnails.

Lo he probado de mil maneras y siempre me daba error.
Esta es una de ellas:
<?
$imagen_G = $_PATHS['fotos_videos'].$foto_actual['link'];
$imagen_E = $_PATHS['dir_fotos_videos'].$foto_actual['link'];

if (file_exists($imagen_E)) {
$desc = "(". $foto_actual['alt'] . ") " . $foto_actual['foto_desc'] ;
echo "<a href=\"index.php?mod=23&id=" onmouseover="showToolTip(event,'This is the content of the tooltip. This is the content of the tooltip.');return false" onmouseout="hideToolTip()">TEXTO TOOLTIP QUE SERIA EL TUMBNAIL<" . $_GET['id'] ."&idf=". $foto_actual['id_foto'] ."&order_by=". $_GET['order_by'] ."&order=". $_GET['order'] ."&limit=". $_GET['limit'] ."&num=". $num ."\">";
echo "<img class=\"foto\" src=\"".$imagen_G."\" alt=\"$desc\" title=\"$desc\" height=110 width=170>";
// onmouseover=\"return escape(tip".$foto_actual['id_foto'].");\"
echo "</a>";
echo "<br />&nbsp;&nbsp;&nbsp;&nbsp;" . $foto_actual['foto_desc'];
/* if ($_GET['order_by']=='ranking') {
echo "<br />&nbsp;&nbsp;&nbsp;&nbsp;Puntuaci&oacute;n: " . round($foto_actual['ranking']);
echo "<br />&nbsp;&nbsp;&nbsp;&nbsp;Votos: " . $foto_actual['votos'];
}*/