the Website of Timothy McCabe Follower of Christ; Student of Epistemology, Apologetics, and Theology
Home Philosophy & Proofs Questions Other Writings Presentations Software

The Inline Quran

By adding one line of code to your website, you can make every reference to the Quran on your webpage display the full passage on hover, and each reference will also become a link that will take the user to quran.com.

Usage

Basic Example

Make sure that your string of Quranic references begin with either the word "Quran" or the word "Surah". Casing does not matter. Then, at the foot of your webpage, just before the closing body tag, add the following HTML code:

<script type="text/javascript" src="http://presuppositions.org/software/inline-quran/inline-quran.min.js" ></script>

Or, here is the secure, SSL version:

<script type="text/javascript" src="https://secure179.inmotionhosting.com/~godcon5/presuppositions.org/software/inline-quran/inline-quran.min.js" ></script>

Here is a full example of the code in use in a sample HTML page:

<!doctype html>
<html>
<head>
     <title>Quranic References</title>
     <meta charset="utf-8" />
</head>
<body>
     <h1>Quranic References</h1>
     <p>We want to refer to the Quran. Therefore, we will. (Quran 3:12-13; 5:7,9,12; 13:2)</p>
 
<script type="text/javascript" src="http://presuppositions.org/software/inline-quran/inline-quran.min.js" ></script>
</body>
</html>

Customization Example

Limited customization is currently available. The following example shows how to hide the "about" links that point a user to our website. All of the following code should be placed at the foot of the page, just before the closing body tag.

<script type="text/javascript">
     var inlineQuran = {};
     inlineQuran.settings = {
          displayAbout: false
     };
</script>
<script type="text/javascript" src="http://presuppositions.org/software/inline-quran/inline-quran.min.js" ></script>

The Inline Quran can be seen in action on the God Contention website. If you implement it on your website, please let us know and we may link to you.

Notes

  • This project is still in beta. But you can feel free to use it anyway. We will try not to break your website.
  • There are no further modification options yet available. If you would like modifications for the display, the translation, or anything else, let us know. We may be able to accommodate.

World Religions and Cults (volume 2)

In Printed Form

Along with numerous other authors including Don Landis, Bodie Hodge and Roger Patterson, Timothy McCabe contributes analyses of various world religions and cults in this volume from Master Books.