-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (21 loc) · 873 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html>
<head></head>
<body>
<h1 style="text-align: center;">Demo: Geoiniciativas Widget</h1>
<!--
Reemplaza el valor del atributo "data-tab" por el nombre de la pestaña que quieras cargar
-->
<div class="geoiniciativas-widget" data-sheetid="1bF4YYH7bXPSLI___zMfh3tDfSxDlWWZLkkuT5vD4zHQ" data-tab="blogs"></div>
<script>
const repoUrl = "https://geo-developers.github.io/geoiniciativas-widget",
js = document.createElement("script");
css = document.createElement("link");
js.type = "text/javascript";
js.src = repoUrl + "/geoiniciativas-widget.js";
css.rel = "stylesheet"
css.href = repoUrl + "/geoiniciativas-widget.css",
document.querySelector("head").appendChild(js);
document.querySelector("head").appendChild(css);
</script>
</body>
</html>