RE: Sound?
hottoys <[email protected]> 27 Jul 2003 11:09:18 -0000
| Newsgroups | gmane.comp.web.oscommerce.suggestions |
|---|---|
| Message-ID | <b23c888eb5afe1be0daf004e489f98f7@osCommerce-Forums> |
This message was sent from: Suggestions and Proposals
http://forums.oscommerce.com/viewtopic.php?p=202620#202620
----------------------------------------------------------------
Simple javascript can make this a very easy thing to do with shockwave / flash.
This is an example of how it can be done (Example from www.vg.no music pages):
[code]
<td align="left">
<script language="JavaScript">
var nr1 = new FlashSound();
nr1.embedSWF('http://www.yourserver.com/ppub/sound/your_song.swf');
</script>
<b><a href="artist_info.jsp?artistId=3987&choose=hidden_value" class="listetxt">Yoursong here</a></b><br>
<a onmouseover="nr1.TGotoAndPlay('/','start')" onmouseout="nr1.TGotoAndPlay('/','stop')" href="song_info.jsp?publicationId=4131&listId=1&choose=hiddan_value" class="listetxt">Title of yoursong</a>
<td> </td>
</tr>[/code][/code]