ASP.NET - Can I strat in css hover button sytle method for play sound

Asked By FarmER Big on 11-Aug-09 05:07 AM

Hello people :)

I need help with my problemm.I need on my website where are my navigation button ( generiert Button without names) play sound when is onmouseover .

Its posible somethinks like this

I have in myMaterpage.cs c# method to play sound with definition my soundFile

this method is : Sound();

Now how start this method .. I havent names from button ( button are generiert.. this is problemm for my).

Ist possible start this method per css hover

a.nav:hover
{
color: #9400D3;
start my method Sound();
}

Or in myMasterpage.cs

protected void Page_Load(object sender, EventArgs e)
{
something like if ( style a.hover color = #9400D3;)

{

Sound();

}


}

Thansk for help

check this

vickees vignesh replied to FarmER Big on 11-Aug-09 05:14 AM
http://www.webdeveloper.com/forum/showthread.php?t=1101

http://www.ozzu.com/website-design-forum/css-sound-mouseover-t36934.html


It seems not possible

Try these.

[)ia6l0 iii replied to FarmER Big on 11-Aug-09 06:46 AM
http://www.dynamicdrive.com/dynamicindex11/javascriptsound.htm seems to use Javascript to invoke the sound file.

And look at http://steveorr.net/articles/StreamingMedia.aspx  for the asp.net version.