My best guess would be maybe through some sort of Javascript or AJAX call... where when ever you rolled over a link with a certain previously designated class, it would trigger the sound. You may want to do a search in google for "add sound to links with javascript".