Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simultaneous Functions

Status
Not open for further replies.

RonRon2

Programmer
Sep 3, 2006
3
US
Have 3 buttons on a form; Text, Audio, and Both. Text displays Bible Scripture. Audio will read the scripture using the user's default player. These buttons work with IE and Opera; ie, the scripture and player both stay displayed. With Firefox, clicking on Audio transfers control to the audio file, eliminating any scripture. (My Netscape isn't working.) I read that clickFunction will "wrap" multiple functions so they behave as one. However, can't find enough info to know how to use it. Please visit to see what I've done so far. View source to see the code. Have spent days on end on this. (BTW I can use an embedded player and have no problems, but really would like to use the default player.) Thanks in advance!
 
I think you just put a ; between the two functions. Something like:

onClick="playAudio();showText()"
 
Thanks. Works with IE and Opera, but still not Firefox.
 
Well, when I went to the page, there was a mismatch between the audio clip and text. Text was Matthew, audio was 1st Corinthians.

Don't have Firefox, so I can't help more!
 
Thanks again. I'm aware of the text-audio mismatch, but didn't seem worth changing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top