I’ve just built my website using free online templates and scripts.
The only thing I couldn’t figure out is how to furnish my website with sounds on hover and click. I tried many if not all available online scripts, but to no avail.
I guess they were not meant for use with jQuery scripts and menus.
Could you please help me out?
I’ve initially posted a link, but was deleted by the administrator on the grounds that it wasn’t necessary (absolutely false!). My site can be found here: http://axiolexis.ro
Take a look. I just couldn’t make it work, and believe me, I tried hard. Maybe I’m missing something, but I believe the example provided by the tutorial you’ve posted is not applicable to my kind of jQuery menu.
By the way, I removed the sound scripts because they didn’t work. You can download my site using HTTrack and try for yourself.
Sorry about that, but we do get a lot of spam monkeys here, so Dave was just probably being cautious.
Nah, I reckon I could get it to work with that menu, too.
If you make me a stripped down version of the page (i.e. just the menu, no other content and no other styling), I’ll be happy to have a look at implementing that for you.
It no problem to post links, especially if they are on-topic.
You won’t get jumped on by a mod
The easiest thing for me would be if you made a page on your site where I could see just the bare bones accordion.
Here you could remove all of the CSS styles not associated with the accordion, all of the JS not associated with the accordion, as well as all of the superfluous content.
I’ve attached a screenshot of the error I receive on mousing over the image of the template using that script.
The problem is that the first dialog window is unresponsive, and you cannot change the settings. Thus, if I were to implement such a script on my site, I may just cripple it and make visitors regret having visited.
I’ve managed to follow your instructions. It works. Thanks a lot.
Nonetheless, I was thinking of using different sounds for hover, and click.
I’ve just bragged to a friend that my site now has sound on hover and click, and she told me that she doesn’t like it and that an option to turn off sound would be welcome. Can you believe this?
Then you’d need to append two audio elements to each tab and play a different one depending on the action.
If you post a link to a second (different) audio clip, I’ll update the demo for you.