Get started with jquery.html5loader CDN

MIT licensed

Plugin: jQuery.html5loader - enables HTML5 media in old browsers.

Tags:
  • images
  • svgs
  • html5
  • css
  • preload

Stable version

Copied!

How to start using jquery.html5loader CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with jquery.html5loader CDN - cdnhub.io</title>
  <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  <script src="https://cdn.cdnhub.io/jquery.html5loader/1.8.0/jquery.html5Loader.min.js"></script>
  <script>
    $(document).ready(function() {
      // Load HTML5 content using jQuery HTML5Loader
      $.html5loader.load('example.html', function(html) {
        $('#content').html(html);
      });
    });
  </script>
  <style>
    #content {
      width: 100%;
      height: 500px;
      border: 1px solid #ccc;
    }
  </style>
</head>
<body>
  <div id="content"></div>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions