My Play/Stop button won't work; I'm using webdings |
My Play/Stop button won't work; I'm using webdings |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 317 Joined: Jan 2005 Member No: 82,987 ![]() |
Ok, this isn't my first time using this code, I used it somewhile back and it worked! But then recently, I needed to add music to my page so I copied and paste it. & the page looks fine until you click on either the Play or Stop Webding. Then, the page gets an "Error on page" status with the caution yellow symbol and the music won't stop at all. Can someone, anyone possiblly tell me what's wrong with this music code and why it might not stop on onclick?
I'm using webdings here, which are the play and stop buttons. <a onClick="document.music.DoPlay()" autostart="true" name="buttonstart"><font style="font-family: Webdings">4</font></a><a onClick="document.music.DoStop()" name="buttonstop"><font style="font-family: Webdings"><</font><embed src="http://www.hostima.net/shesoflashy/flashback.mp3" border="0" name="music" hidden="true" align="baseline" type="audio/x-pn-realaudio" loop="true" repeat="true" autostart="true"></embed> |
|
|
![]() |
![]()
Post
#2
|
|
![]() :hammer: ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,849 Joined: Mar 2004 Member No: 7,700 ![]() |
QUOTE(kandiapplegrl @ Jan 11 2005, 7:52 PM) Ok, this isn't my first time using this code, I used it somewhile back and it worked! But then recently, I needed to add music to my page so I copied and paste it. & the page looks fine until you click on either the Play or Stop Webding. Then, the page gets an "Error on page" status with the caution yellow symbol and the music won't stop at all. Can someone, anyone possiblly tell me what's wrong with this music code and why it might not stop on onclick? I'm using webdings here, which are the play and stop buttons. <a onClick="document.music.DoPlay()" autostart="true" name="buttonstart"><font style="font-family: Webdings">4</font></a><a onClick="document.music.DoStop()" name="buttonstop"><font style="font-family: Webdings"><</font><embed src="http://www.hostima.net/shesoflashy/flashback.mp3" border="0" name="music" hidden="true" align="baseline" type="audio/x-pn-realaudio" loop="true" repeat="true" autostart="true"></embed> CODE <a onClick="document.music.DoPlay()" autostart="true" name="buttonstart"><font style="font-family: Webdings">4</font></a><a onClick="document.music.DoStop()" name="buttonstop"><font style="font-family: Webdings"><</font></a><embed src="http://www.hostima.net/shesoflashy/flashback.mp3" border="0" name="music" hidden="true" align="baseline" type="audio/x-pn-realaudio" loop="true" repeat="true" autostart="true"></embed> Try that..^ |
|
|
![]() ![]() |