Results 1 to 2 of 2

Thread: Question???

  1. #1
    Join Date
    Dec 1969

    Default Question???

    Hi, i have a quick question for the board. I have a wave file that i am playing using the embed tags. Using SetTimeout in javascript, how would i specify which time to play the wave file. For example, if i wanted it to play 15 seconds after the page loads how would i do that. I already have code that keeps track of a counter, i would just like to play the wave file when this variable reaches a certain number. I hope this make sense. Thanx in advance.

  2. #2
    Join Date
    Dec 1969

    Default Nice repost. But, here you go.

    In the &#060;body&#062;&#039;s onLoad attribute, use the setTimeout() to run every X seconds.<BR><BR>When it runs, check to see if whatever condition is true. If so, play the wave file.<BR><BR>Need syntax help? Try

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts