I'm trying to use w3data.js for an all html website. The goal is to limite copy past from page to page by adding html includes.
In my case i've created an index.html who looks like this :
<!DOCTYPE html>
<html lang="fr">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
<script src="http://www.w3schools.com/lib/w3data.js"></script>
</head>
<body id="home">
<div w3-include-html="header-home.html"></div> <!-- to call a bootstrap navbar -->
<script>
w3IncludeHTML();
</script>
</body>
I followed the W3 how to: http://www.w3schools.com/howto/howto_html_include.asp but it doesn't work for me.
In my console, I have an error. My website https://minutedrone.com
is secure (https), but w3schools.com is not, so iIcan't change the script.
It works when I go on the http version of my website (www.w3schools.com don't have a https version).
What can I do to fix this issue, or is there other way to do what I want?
Please help. Thanks !!