Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Mais uma vez estou aqui precisando da ajuda de vcs XD...
Eu estou tentando colocar animação de botão no menu do meu site.. esse é o código do menu:
// the [Home] button
echo'<a href="http://www.dungeonmakers.com.br/portal" target="_blank"><img src="http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Portal.gif">';
// the [Forum] button
echo'<a href="', $scripturl, '"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Forum.gif">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Forum.gif)
// the [Help] button
echo'<a href="', $scripturl, '?action=help"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Ajuda.gif">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Ajuda.gif)
// Mostrar comando da LOJA.
if ($context['allow_edit_profile'])
echo '<a href="', $scripturl, '?action=shop"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Loja.gif">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Loja.gif)
// Mostrar comando da Galeria.
if ($context['user']['is_logged'])
echo '<a href="[http://www.dungeonmakers.com.br/forum/index.php?action=gallery"](http://www.dungeonmakers.com.br/forum/index.php?action=gallery) target="_blank"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Galeria.gif">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Galeria.gif)
// Mostrar botão do Orkut
echo '<a href="http://www.orkut.com.br/Main#Community.aspx?cmm=55265974" target="_blank"><img src="http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Orkut.gif">';
// the [Search] button
echo'<a href="', $scripturl, '?action=search"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Pesquisar.gif">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Pesquisar.gif)
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '<a href="', $scripturl, '?action=admin" ><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Admin.gif"](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Admin.gif) ></a>';
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '<a href="', $scripturl, '?action=profile"><font color="#FFFFFF"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Perfil.gif">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Perfil.gif)
// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '<a href="'. $scripturl. '?action=pm"><font color="#FFFFFF">'. (($context['user']['unread_messages'] <= 0) ? '<img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Correio.gif">'](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Correio.gif) : '<img src="[http://img403.imageshack.us/img403/5578/correiona9.gif">'](http://img403.imageshack.us/img403/5578/correiona9.gif)) . '</font></a>';
// the [My Calendar] button
if ($context['allow_calendar'])
echo'<a href="', $scripturl, '?action=calendar"><font color="#FFFFFF">' , $txt['calendar24'] , '</font></a>';
// the [member] list button
if ($context['allow_memberlist'])
echo'<a href="', $scripturl, '?action=mlist"><font color="#FFFFFF"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Membros.gif">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Membros.gif)
// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo '<a href="', $scripturl, '?action=login"><font color="#FFFFFF"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Login.png">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Login.png)
// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo '<a href="', $scripturl, '?action=register"><font color="#FFFFFF"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Registrar.gif">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Registrar.gif)
// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo '<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '"><font color="#FFFFFF"><img src="[http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Sair.gif">';](http://i659.photobucket.com/albums/uu314/marcusroots/Topic%20Organizer%20DM/Sair.gif)
// The end of tab section.
echo '
</td>
<td>
</td>
</tr>
</table>
</div>';
}
Eu não consigo colocar o comando onmouseover nem a pau.. sempre da erro... isso é código da página php .. mas em html eu consegui fazer menu animado usando onmouseover.. eu não sei o que pode estar acontecendo Oo..
Será que alguém consegue me ajudar a resolver isso? http://forum.imasters.com.br/public/style_emoticons/default/cry.gif
Carregando comentários...