Skip to main content
Topic: Script (Read 2239 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Script

Guy, I do not know what kinda script this is, but it is used to read Bible Scripture. When a Scripture like this is posted (James 2:24) as you move your mouse over the Scripture over the text "James 2:24" the Scripture will appear. Is there a way to use this script in the forum posts?


<script>
   var refTagger = {
      settings: {
         bibleVersion: "KJV"         
      }
   };
   (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>

Re: Script

Reply #1

I made you a quick demo add-on to show you the principle of the thing.

Re: Script

Reply #2

I do not understand your demo? it does not play and it is all in some kinda script.

Re: Script

Reply #3

Since you posted (originally) in features discussion, I guess Frenzie understood (as I did) you wanted to add it to an elkarte install, so he packed for you an addon that can be installed through elkarte package manager.
Bugs creator.
Features destroyer.
Template killer.

Re: Script

Reply #4

ok, Now I understand, Thank you both.  :D



Just thought I would let you guys know that it works great and thanks again.
Last Edit: June 04, 2017, 04:34:29 pm by Brother John

Re: Script

Reply #5

No problem.