Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disco Inferno
05-10-2021, 05:31 PM
Post: #1
Disco Inferno
Demonstrates using 2 mp3's on same page. The second one is delayed using javascript while the first one plays

Code:
<audio src="fifth.mp3" id="my_audio" loop="loop"></audio>
  &lt;script type="text/javascript"&gt;
    setTimeout(function(){
      document.getElementById("my_audio").play();
    },87000)
  &lt;/script>

<audio autoplay>
<source src="disco-intro.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>

and demonstrates css used to write on a background image.


<div id="cover0" class=center style="background-image:url(discocover.jpg);width:1366px;height:768px;"><h1>Welcome to the disco this evening</h1></div>


http://d21c.com/leprofesseur/disco-club.html
Visit this user's website Find all posts by this user
Quote this message in a reply
05-12-2021, 05:00 AM
Post: #2
RE: Disco Inferno
That is very entertaining. The 3D effect is fantastic. Great work.

LingoLinda
[Image: countup.php]
[Image: rotate.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)