[support] l() function and javascript function
Aldo Martinez Selleras
aldo at caonao.cu
Tue Mar 31 11:50:28 UTC 2009
how can i insert javascript functions in diferent events on my link created
with l() function???
i have this
l($picture, "blog/$row->uid", array('title' => t('View user profile.'))
this create a html code like this
<a href="?q=blog/1" title="View user profile."><img
src="http://URL_DOMAIN/files/avatar_selection/batman_1.jpg"
alt="username's profile" title="username's profile" /></a>
and i need add some events...
<a href="?q=blog/1" title="View user profile."
onclick="get_show('+SOME_VAR+')"
onmouseout="usercardget_hide()" >
<img src="http://URL_DOMAIN/files/avatar_selection/batman_1.jpg"
alt="username's profile" title="username's profile" /></a>
how can do this???
thks in advanced
More information about the support
mailing list