Christian.net Saturday
May 10 2008

Web Gadgets: webSWORD

This gadget takes a scripture reference and displays the passage in a pop-up window, allowing the viewer to select from a number of translations and languages. There are three different ways you can use this gadget:

  1. Create links directly to it, like this:

    John 3:16

    The HTML code to create this link is:

    <a href="http://christian.net/websword/simple.php?passage=john+3:16" target="_blank">John 3:16</a>

    Note that spaces must be replaced with '+' signs in URLs. The "target" tag causes WebVerse to open in a blank window. You could use any text or even an image for the link if you want.

  2. You can provide a small input box so visitors to your site can type in a verse directly, like this:

    The HTML code for this is:

    <form method="post" action="http://christian.net/websword/simple.php" target="_blank"><input name="passage" size="10"></form>

  3. If you know a little about programming and can make modifications to your site software, you can make bible verses in forum posts, chat rooms, etc. automatically link to WebVerse. Contact us and we'll send you a PHP or PERL function that will make any bible verses in a given string clickable.