Click here to Skip to main content
16,005,473 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,
my code like this in master page, when am click any menu item automatically restart the music. how to continuously play the music click on menu list. please help me urgent,

thanking you,
XML
<form id="conform" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
       </asp:ScriptManager>
  
       <div id="header">
           <div id="logo">
              <a href="../Services/Innovative_services.aspx">
                   <img src="../images/logo.jpg" width="286" height="84" /></a></div>

           <div id="header_right">
           <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
       <ContentTemplate>
             <div id="sound">
              <param name="sound" value="../images/inner.swf">
   <embed id="music" runat="server" src="../images/inner.swf" width="120px" height="37px" menu="false" autostart="false" loop="true" ></embed>
   </div>

             </ContentTemplate>
   </asp:UpdatePanel>
           </div>
       </div>
Posted
Comments
fjdiewornncalwe 17-Oct-12 10:06am    
That it is urgent for you is of no relevance to us. We volunteer our time to help you.
There is nothing more annoying on a website then background music.(With the excpetion of gaudy colors and blinking crap). Please avoid doing this at all costs.
Sandeep Mewara 17-Oct-12 12:28pm    
+5

1 solution

Oh God, no!

I can think of few things that are more annoying than a website that constantly plays music in the background. There's a reason why you don't see websties doing this very much.

If I come acrossed a site like that, I immediately close the browser window. I like to browse in silence!


The only way I know of to make this work is to use the (outdated IMHO) frame tag and play the music in a sperate frame page. All browsing of your site would be inside a second frame.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900