• 05-03-2023, 21:04:29
    #1
    <!DOCTYPE html>
    <html>
    <title>W3.CSS</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
    <body>
    
    <div class="w3-container">
      <h2>Fast MP3 Convert</h2>
      <p>Label outside of the progress bar:</p>
    
      <div class="w3-light-grey">
        <div id="myBar" class="w3-container w3-green" style="height:24px;width:0%">
        </div>
      </div>
    
      <p id="myP">The download link will appear here! <span id="demo">0</span> MP3</p>
    
      <button class="w3-button w3-light-grey" onclick="move();this.disabled='true'">Convert</button>
    </div>
    
    <script>
    function move() {
      var elem = document.getElementById("myBar");  
      var width = 0;
      var id = setInterval(frame, 150);
      function frame() {
        if (width >= 100) {
          clearInterval(id);
          document.getElementById("myP").className = "w3-text-green w3-animate-opacity";
          document.getElementById("myP").innerHTML = "Complate! > https://en.savefrom.net/102-youtube-music-downloader-180.html" ;
        } else {
          width++;
          elem.style.width = width + '%';
          var num = width * 1 / 10;
          num = num.toFixed(0)
          document.getElementById("demo").innerHTML = num;
        }
      }
    }
    </script>
    
    </body>
    </html>
    // document.getElementById("myP").innerHTML = "Complate! > https://en.savefrom.net/102-youtube-music-downloader-180.html" ;
    Bu kısındaki ilgili link in tıklanabilir hale nasıl getirebiliriz?
  • 05-03-2023, 21:08:53
    #2
    document.getElementById("myP").innerHTML = "Complate! > <a href=\"https://en.savefrom.net/102-youtube-music-downloader-180.html \">https://en.savefrom.net/102-youtube-music-downloader-180.html</a>" ;
  • 05-03-2023, 21:15:45
    #3
    AtakanAtes adlı üyeden alıntı: mesajı görüntüle
    document.getElementById("myP").innerHTML = "Complate! > <a href=\"https://en.savefrom.net/102-youtube-music-downloader-180.html \">https://en.savefrom.net/102-youtube-music-downloader-180.html</a>" ;
    Elinize sağlik