Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Open a link after a specified time/or after an MP3 file has been played
Old 12-25-2009, 10:39 PM Open a link after a specified time/or after an MP3 file has been played
Candyman87's Avatar
Experienced Talker

Posts: 42
Name: Mike
Trades: 0
Hello,

This should be very easy (I guess) but I couldn't find any solution online with my description.

My website is www.virtual-oz.com and on the index page there is a little mp3 intro playing in the background (approx. 30 sec.) - can I apply a javascript function to open the home page automatically after it has finished (either after 30 sec. or directly connected with the music file)?

Maybe there is an easier PHP solution as well if JavaScript is not possible/too complicated. I'm open to any easy solution!

MANY THANKS in advance!
C@ndy
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
Candyman87 is offline
Reply With Quote
View Public Profile Visit Candyman87's homepage!
 
 
Register now for full access!
Old 12-26-2009, 05:17 AM Re: Open a link after a specified time/or after an MP3 file has been played
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
there is a little mp3 intro playing in the background (approx. 30 sec.)
Thanks, at least I now know NOT to go to your site to look at the coding.

http://www.elated.com/articles/javas...d-setinterval/

fire the timer with a body onload event and show the link when the timer ends.

HOWEVER I would expect that many visitors will have left long before the link appears.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-26-2009, 12:07 PM Re: Open a link after a specified time/or after an MP3 file has been played
Candyman87's Avatar
Experienced Talker

Posts: 42
Name: Mike
Trades: 0
Hello chrishirst,

thanks for your reply - I think you just misunderstood something!
The link to access the website is there all the time but if people don't click on the link/image than they should get redirected automatically after 30 secs - I will check out the link you posted and hope it's going to work out the way I intend...
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
Candyman87 is offline
Reply With Quote
View Public Profile Visit Candyman87's homepage!
 
Old 12-26-2009, 12:33 PM Re: Open a link after a specified time/or after an MP3 file has been played
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
So you have a splash page playing background music, you certainly are not doing things by half

Or have we just dropped through a timewarp and emerged in 1993?
http://www.webmaster-talk.com/websit...gn-trends.html
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-26-2009, 12:37 PM Re: Open a link after a specified time/or after an MP3 file has been played
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
HTML Code:
<meta http-equiv="refresh" content="30; new_uri" />
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-26-2009, 02:47 PM Re: Open a link after a specified time/or after an MP3 file has been played
Candyman87's Avatar
Experienced Talker

Posts: 42
Name: Mike
Trades: 0
holy moly! It worked out with your second suggestion to reload the page (with a different page) You are a GENIUS!!!!!! Thank you!! XOXOXO
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
Candyman87 is offline
Reply With Quote
View Public Profile Visit Candyman87's homepage!
 
Old 12-27-2009, 10:46 AM Re: Open a link after a specified time/or after an MP3 file has been played
Banned

Posts: 2
Name: Lily
Trades: 0
i am not good at this, i guess i will learn more here.
lilyhu is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Open a link after a specified time/or after an MP3 file has been played
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30480 seconds with 12 queries