This is a migrated thread and some comments may be shown as answers.

Add Sound Effect to Horizontal RadMenu with drop-down

4 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 08 Jul 2011, 06:41 PM
Hi guys,
My boss wants a sound effect to happen each time a navigation menu item is rolled over.  I am using the  radmenu navigation with a customized TIU skin- it is the horizontal nav with drop-down.
Can you let me know if this is possible and point me in the right direction?
thanks!

4 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 14 Jul 2011, 12:01 PM
Hello Ryan,

It is possible to add sound effect using javascript. Depending on you requirements you can subscribe to the different client-side events. For example, subscribing on the OnClientItemOpening event, will play sound when the menu is opening. Please take a look at the following articles to see how you  can add sound using javascript.

Regards,
Kate
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Ryan
Top achievements
Rank 1
answered on 15 Jul 2011, 01:57 AM
Thanks Kate-

I am glad that it is possible.  I have been able to accomplish such a thing in a flat html site, so I understand the concepts, but I guess I am just not clear on how to implement this in Sitefinity.  I know the javascript code that I want to appear in the header, and I know that I want each of the nav links to have to call an onclientmouseover and onclientmouseout event.  I just have no idea where to put the actual code.  In the master page template?  Does it go in a control?  sorry, I am very new to this
0
Ryan
Top achievements
Rank 1
answered on 15 Jul 2011, 01:58 AM
Thanks Kate-

I am glad that it is possible.  I have been able to accomplish such a thing in a flat html site, so I understand the concepts, but I guess I am just not clear on how to implement this in Sitefinity.  I know the javascript code that I want to appear in the header, and I know that I want each of the nav links to have to call an onclientmouseover and onclientmouseout event.  I just have no idea where to put the actual code.  In the master page template?  Does it go in a control?  sorry, I am very new to this
0
Kate
Telerik team
answered on 19 Jul 2011, 04:54 PM
Hi Ryan,

You can create a custom template for the navigation control which is based on RadMenu and include the javascript in the template. Then you can specify this template in the LayoutTemplatePath property in the design settings of the Navigation control. In case you use a simple master page i would suggest to take a look at the following article - Calling JavaScript from ASP.NET Master Page and Content Pages

All the best,
Kate
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Ryan
Top achievements
Rank 1
Answers by
Kate
Telerik team
Ryan
Top achievements
Rank 1
Share this question
or