TinyPortal
Development => Support => Topic started by: Gargoyle on June 27, 2006, 04:45:05 AM
How would I add the onhover command to play a sound to this ??
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
Also is it possible to add onhover and onclick to the same snip of code ??
Thanks for any suggestions ;D
You would probably have to try something like this. A bit difficult if you don't know coding I suppose.
http://www.practicalpc.co.uk/webbuilding/scripts/mouseover_sound_effects.htm