Hi,

I am just a couple of days away from launching my first Drupal site. I am putting the final touches on it when I came across this issue.

I have prepared some nice audio tutorials to help members fill out their posting forms correctly. I had planned to place a little "Play Audio Tip" button on the form submission page and have it open up a window that played the audio tip. I am using the "Wimpy MP3" player. I used their configuration tools to generate the code that opens the window that plays the audio.

I can place their code into the body of a post (using Full HTML input filter) and the pop up works fine. When I try to place the code at the top of a posting page (example: admin > settings > content types > configure) I get some strange behavior. When I click on the Audio Tip button, I get this page "www.mysite.com/node/add/;"

It looks like the script is picking up the /node/add path somehow.

Here is the code I am using:

<script language="JavaScript" type="text/JavaScript">
<!--
function wimpyPopPlayer(theFile,id,stuff) {
  window.open(theFile,id,stuff);
}
//-->
</script>
<a href="javascript:;" onClick="wimpyPopPlayer('http://autotech-elearning.com/audio_player/audio_pages/site_audio_03.html','wimpyMP3player','width=351,height=141')"><img src="http://autotech-elearning.com/images/audio_tip.jpg" border="0" align="top"></a>	

Any ideas on how to tweak this script to work correctly?

Thanks in advance on any help!