Ver Mensaje Individual
  #16 (permalink)  
Antiguo 01/05/2012, 18:13
chinanzio
 
Fecha de Ingreso: marzo-2007
Mensajes: 82
Antigüedad: 17 años, 2 meses
Puntos: 21
Respuesta: Mas de una funcion/evento para el atributo onclick

Prueba a escribir la funcion union en el tag

Código PHP:
Ver original
  1. $post['thanks'] = "<a id=\"a{$post['pid']}\" onclick=\"return function(){var uno = thx({$post['pid']});var dos = hideuntilthanks_reload(); return uno && dos;}\" href=\"showthread.php?action=thank&tid={$post['tid']}&pid={$post['pid']}\"> img src=\"{$mybb->settings['bburl']}/{$theme['imgdir']}/postbit_thx.gif\" border=\"0\" alt=\"$lang->thx_main\" title=\"$lang->thx_main\" id=\"i{$post['pid']}\" /></a>";
__________________
Hazle un favor a tu cerebro y juega Ajedrez online
Chess online