navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

30 second delay for sound

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> 30 second delay for sound
Page: [1]
 
eureka125

 

Posts: 41
From: bloomfield, NY US
Status: offline

 
30 second delay for sound - 6/7/2004 13:43:57   
Does anyone know how do the implement a 30 second delay before the welcome soundbite that I have on my homepage plays.

Here is the code:

<EMBED SRC="sounds/welcome.mp3" HIDDEN="" AUTOSTART="true" LOOP="false" width="75" height="75" border="0">

I know I could put in 30 seconds of silence in the MP3 file but I'm hoping that there is an easier and more elegant solution .

I had someone else do the original coding and I don't know much about ASP.

Thanks
Rick Yurick the

_____________________________

Weaving Dreams with FP?
cliffdeen

 

Posts: 155
Joined: 4/12/2004
From: Mckinney, TX
Status: offline

 
RE: 30 second delay for sound - 6/7/2004 16:17:40   
Try this:
The syntax is:


<META HTTP-EQUIV=REFRESH CONTENT="time-delay; URL=page-url">
where "time-delay" is the delay in seconds before the new page is loaded, and "page-url" is the address of the new page. This tag goes in the document header, between the <HEAD> and </HEAD> tags. For example,


<META HTTP-EQUIV=REFRESH CONTENT="10; URL=http://www.mywebsite.com">
would take you to the page at www.mywebsite.com after a delay of 10 seconds. The "page-url" can be the same as the current page, or different. It can be on the same server or on a different one.

(in reply to eureka125)
eureka125

 

Posts: 41
From: bloomfield, NY US
Status: offline

 
RE: 30 second delay for sound - 6/7/2004 16:38:27   
Cliff,
Thank you for your reply. It's an interesting idea. I could have a silent version and a sound version of my homepage and direct them to the sound version after 30 seconds.

I might try this idea, but I think I will wait and see if anyone else has a simpler solution.

Rick

(in reply to eureka125)
DesiMcK

 

Posts: 446
Joined: 4/26/2004
From: Essex, UK
Status: offline

 
RE: 30 second delay for sound - 6/7/2004 17:35:10   
I think that some javascript may be easier if you know javascript. There is a command - window.setInterval()


It sets a delay for a specific function.

Syntax
ID = window.setInterval("funcName", delay)


Parameters

funcName is the name of the function for which you want to set a delay.

delay is the number of milliseconds (thousandths of a second) that the function should be delayed.

ID is the interval ID.



Example

intervalID = window.setInterval("animalate()", 500);

If you know the javascript command to play a sound file then this should work very well. Sorry I do not not much javascript so I can't help any further.

Desi

(in reply to eureka125)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> 30 second delay for sound
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts