Page 1 of 1 (4 items)
This post has 3 Replies | 1 Follower

Posts 23
Raif | Forum Activity | Posted: Mon, Jan 26 2015 4:14 PM

I wanted to try a simple example to verify that I could use reftagger before moving to something more advanced.

I must have something missing here, but I have read the documentation, and looked through much of the forum. The biblical references do not provide links to the passages; they just show up as text. I have the file saved on my desktop as index.html. I would appreciate any assistance.

Here is what I have:

<html>

<body>

Matthew 1<br><br>

<div>
<p>John 3:16</p>
</div>
<br><br>


<script>
var refTagger = {
settings: {
bibleVersion: "NIV",
roundCorners: true,
socialSharing: ["facebook"]
}
};
(function(d, t) {
var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
g.src = "//api.reftagger.com/v2/RefTagger.js";
s.parentNode.insertBefore(g, s);
}(document, "script"));
</script>

</body>

</html>

Posts 9151
LogosEmployee

The script requires the page to be hosted at an HTTP (or HTTPS) site; it won't work when loaded as a local file.

You could try changing
    g.src = "//api.reftagger.com/v2/RefTagger.js";
to
    g.src = "https://api.reftagger.com/v2/RefTagger.js";
but note that many browsers will still block this (for security reasons). The solution is to host your page on a HTTP server.

Posts 5
gesundelehre | Forum Activity | Replied: Tue, Oct 13 2015 8:03 AM

Could you maybe make this info available under the FAQ? - it would be helpful for all those who want to try it locally first.

I myself had the same issue, because I also tried it locally first.

Posts 1
Richard Fair | Forum Activity | Replied: Wed, Feb 10 2016 10:41 AM

Works for me using seamonkey browser, thanks

Page 1 of 1 (4 items) | RSS