Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/05/2009, 17:40
currelo
 
Fecha de Ingreso: abril-2008
Mensajes: 22
Antigüedad: 16 años
Puntos: 0
tooltips en joomla

Meti un tooltip con fotografía y texto en una página html realizada con un editor web :

<head>
<script>
window.addEvent('domready',function() {
/* hide using opacity on page load */
$('fb-modal').setStyles({
opacity:0,
display:'block'
});
/* hiders */
$('fb-close').addEvent('click',function(e) { $('fb-modal').fade('out'); });
window.addEvent('keypress',function(e) { if(e.key == 'esc') { $('fb-modal').fade('out'); } });
$(document.body).addEvent('click',function(e) {
if($('fb-modal').get('opacity') == 1 && !e.target.getParent('.generic_dialog')) {
$('fb-modal').fade('out');
}
});
/* click to show */
$('fb-trigger').addEvent('click',function() {
$('fb-modal').fade('in');
});
});
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>

</head>
<body>
<script type="text/javascript" src="wz_tooltip.js"></script>
<a href="index.htm" onmouseover="Tip('Aquí irá el texto con la imagen<img src=1.jpg>')" onmouseout="UnTip()">Homepage </a>
</body>
</html>


Ahora quería realizar lo mismo pero en joomla , metí el código en el index del template y loa archivos .js en el template y en media pero no hay manera.
Necesito un consejo.
Lo intente con jquery pero tampoco no hay manera , en la página realizada con el editor web funcionaba pero en joomla no??????