TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,007
  • Total Topics: 21,331
  • Online today: 1,809
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 448
  • Total: 449
  • @rjen

onhover coding help needed....

Started by Gargoyle, June 27, 2006, 04:45:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gargoyle

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 . '">&nbsp;</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 . '">&nbsp;</td>' : '';


Also is it possible to add onhover and onclick to the same snip of code ??

Thanks for any suggestions  ;D

IchBin

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

This website is proudly hosted on Crocweb Cloud Website Hosting.