Using RefTagger with and Links

By default RefTagger will tag only the bare Bible references on your site. If a Bible reference is already linked to or another online Bible site, RefTagger will ignore it. So you won’t get the cool tooltips to show up on references you’ve already linked manually.

We’ve received some feedback from people who want to be able to link Bible references to and have RefTagger add the tooltips, so we’ve decided to add support for it. It also works with links, which is perfect if you syndicate your Twitter feed to your blog.

Here are a couple of examples:

All you need to do to enable this new functionality is add one additional line of code to the RefTagger script code in the footer of your site. Simply add

Logos.ReferenceTagging.lbsConvertHyperlinks = true;

to the RefTagger JavaScript code anywhere before the line


This will tell RefTagger to add tooltips to all of the Bible references that are hard linked to or

Why would you want to do this? Well, since RefTagger uses JavaScript, Bible references in your site’s feed don’t get linked because the JavaScript code runs only on your site, not in your readers’ feed reader (e.g., Google Reader or Bloglines). If you want your Bible references to be linked in your feed, you’ll have to link them manually (or use this hack to save a little time). Before, you had to choose between linking your Bible references to or using RefTagger. Now you can do both and enjoy the best of both worlds.


  1. Any plans to have RefTagger supply passages as well as single verses?

  2. Phil Gons says

    Ken, RefTagger will currently display up to 250 or so characters. This allows for almost all verses to be displayed in their entirety and many short ranges of verses as well. My understanding is that we can’t have the tooltip window resize to show more content because JavaScript won’t allow it for security reasons when the code is hosted on a site different from the one the website is hosted on.

  3. It’s a great idea to give away some Bibles.

  4. David Buckham says

    Maybe I am dreaming about this…but what if you could run RefTagger on your computer in the background (like a widget or background program) so anytime you have a program running (be it Word, PPT, IE, Safari…whatever) and a scripture is referenced (in a predetermined way) RefTagger would allow you to load it. Would this be too taxing on the system? Maybe a feature you could turn off and on?
    all about Christ,
    David Buckham

  5. Thanks for doing this!

  6. I can link to Bibles on line. How do you have the refTagger in a PowerPoint presentation when there is no internet access?

  7. Unfortunately, RefTagger does not work offline.

  8. Phil Gons says

    Thanks for the suggestion, David. We don’t have any immediate plans to make something like this, but it’s definitely on the list for consideration.

  9. I’m looking for a way to sidestep reftagger on our drupal install for a single instance. Example: A title references a Bible verse and I don’t want it highlighted nor linked. Is there a way to accomplish this?

  10. You can specify certain tags or classes to have RefTagger skip. More details at

  11. Kevin.King says

    Regarding tooltip size limits. I was experimenting with my own system for displaying pop-up verses before I discovered RefTagger. The technique was to create a hyperlink, and then use the CSS ‘hover’ pseudo-attribute and ‘after’ pseudo-element to display the required text, as below:
    a.Mt26v3:hover:after{ content:
    ” ‘Then the chief priests, the scribes, and the elders of the people were gathered together in the court of the high priest, who was called Caiaphas.'”;}
    The length of text in the content attribute is not restricted to 255 characters, and by associating a common class with all references, you can define a pop-up box to accommodate the reference.
    a.q:hover:after{ display:block; position:fixed; bottom:0px; right:5%; width:75%; border:1px solid blue; padding:1em; background-color:LightYellow; color:Gray; }
    My system was entirely manual, so very tedious to implement, and had no formatting of the content text. But it was designed to work without any Javascript. Using Javascript, you might be able to create something more versatile.