Tuesday 19 April 2016

Another tip from Australian Islamic Library - Easiest Popup Option for Weebly users (free)

Dear readers,

We have recently implemented a popup functionality in some of our websites.
It is a really handy feature for online libraries and research repositories.

The simple steps for weebly users to include a pop-up functionality are as follows:

1. Go to 'themes' in the weebly editor and select the 'edit html/css' option.
2. Click on main_style.css and add the css code provided below. Add this code at the very bottom.
3. Click on custom.js and add the code provided below at the bottom of content.
4. Save the theme.
5. Where-ever a popup is required for inline text, add the code provided below. Don't forget to update the contents.


Now here are the codes:

CSS:

#dialogoverlay{ display: none; opacity: .8; position: fixed; top: 0px; left: 0px; background: #ff9900 width: 100%; z-index: 10; } #dialogbox{ display: none; position: fixed; background: #000; border-radius:7px; width:550px; z-index: 10; } #dialogbox > div{ background:#ff9900; margin:8px; } #dialogbox > div > #dialogboxhead{ background: #666; font-size:19px; padding:10px; color:#CCC; } #dialogbox > div > #dialogboxbody{ background: #333; padding:20px; color:#ff9900; } #dialogbox > div > #dialogboxfoot{ background: #666; padding:10px; text-align:right; }


JS:
(Update what is highlighted in red. It will be the heading of popup box)

function CustomAlert(){ this.render = function(dialog){ var winW = window.innerWidth; var winH = window.innerHeight; var dialogoverlay = document.getElementById('dialogoverlay'); var dialogbox = document.getElementById('dialogbox'); dialogoverlay.style.display = "block"; dialogoverlay.style.height = winH+"px"; dialogbox.style.left = (winW/2) - (550 * .5)+"px"; dialogbox.style.top = "100px"; dialogbox.style.display = "block"; document.getElementById('dialogboxhead').innerHTML = "Abstract"; document.getElementById('dialogboxbody').innerHTML = dialog; document.getElementById('dialogboxfoot').innerHTML = '<button onclick="Alert.ok()">OK</button>'; } this.ok = function(){ document.getElementById('dialogbox').style.display = "none"; document.getElementById('dialogoverlay').style.display = "none"; } } var Alert = new CustomAlert(); function deletePost(id){ var db_id = id.replace("post_", ""); // Run Ajax request here to delete post from database document.body.removeChild(document.getElementById(id)); } function CustomConfirm(){ this.render = function(dialog,op,id){ var winW = window.innerWidth; var winH = window.innerHeight; var dialogoverlay = document.getElementById('dialogoverlay'); var dialogbox = document.getElementById('dialogbox'); dialogoverlay.style.display = "block"; dialogoverlay.style.height = winH+"px"; dialogbox.style.left = (winW/2) - (550 * .5)+"px"; dialogbox.style.top = "100px"; dialogbox.style.display = "block"; document.getElementById('dialogboxhead').innerHTML = "Confirm that action"; document.getElementById('dialogboxbody').innerHTML = dialog; document.getElementById('dialogboxfoot').innerHTML = '<button onclick="Confirm.yes(\''+op+'\',\''+id+'\')">Yes</button> <button onclick="Confirm.no()">No</button>'; } this.no = function(){ document.getElementById('dialogbox').style.display = "none"; document.getElementById('dialogoverlay').style.display = "none"; } this.yes = function(op,id){ if(op == "delete_post"){ deletePost(id); } document.getElementById('dialogbox').style.display = "none"; document.getElementById('dialogoverlay').style.display = "none"; } } var Confirm = new CustomConfirm();



HTML CODE FOR PLACEMENT WHERE THE LINK IS REQUIRED:
(Update what is highlighted in red. This will be your content in the popup box)


<div id="dialogoverlay"></div> <div id="dialogbox"> <div> <div id="dialogboxhead"></div> <div id="dialogboxbody"></div> <div id="dialogboxfoot"></div> </div> </div> <button onclick="Alert.render('Hello World')">Custom Alert</button>

Saturday 26 December 2015

Al-Waraqat - English Translation and Commentary

We are very humbled to present our new book on Usul al Fiqh - Translation and Commentary of classical text by Imam Al-Haramain Al-Juvaini "Al-Waraqat".



Sunday 20 December 2015

Learn Usool At Tafsir from some of the best scholars..

We have proudly upgraded our Usul At-Tafsir multimedia section. This collection coupled with our Usul at-tafsir bookshelf can be an ultimate resource for seekers of sacred knowledge.

Visit today and share on.


Saturday 12 December 2015

What is Qiyas - Visual Explanation



Literally, Qiyas means measuring or ascertaining the length, weight or quality of something. Scales are called ‘miqyas’ which is derived from this. Qiyas also means comparison – equality or similarity between two things.

Technically; Qiyas is an:

extension of a Shariah value (wajib, haram, mubah, mandoob, and makrooh)
from an original case (asl)
to a new case (far’),
because the latter has the same effective cause (illah) as the former.

The original case is ruled by the Quran or Sunnah and qiyas aims to extend the same ruling to the new case based on the same illah.

It was defined by Ibn Qudaamah R.A. as follows:

“Giving a ruling concerning a novel issue (i.e., one that is not directly mentioned in shara‘i texts) that is the same as the ruling on a basic issue (i.e., one that is directly mentioned in shara‘i texts), on the basis of some common factor between the two issues.”

Sheikh Yahya Ibrahim explains:

Qiyas is when scholars of Islamic Shariah establish an understanding by looking at something similar to the issue, or to the opposite of it.
Why the opposite? Because “somethings are known by their opposites.”

For example, if there were no darkness how would we know what light is?

As such, when we enter the mosque the Rasool ﷺ taught us to enter with our right foot. So, by analogy or “Qiyas” the scholars have said that if we enter a place of righteousness with the right foot, then a place of filth, such as the washroom, should be entered with the left foot.

Sheikh Salih Al-Munajjid explains:

There are four pillars or components of analogy:
- the basic issue (asl),
- the novel issue (far’),
- the ruling (hukm) and
- the common factor (illah).

These components may be understood further by giving an example. If we say, for example, that nabeedh is an intoxicant, then it is haram like khamr (wine).

(Nabidh or Nabeedh is a drink traditionally made from fruits such as raisins/grapes or dates. Nabidh may be non-intoxicating, mildy intoxicating, or heavily intoxicating depending on the level of fermentation. The type of Nabeedh discussed in this example is the intoxicating one.)
- In this case the basic issue is khamr. This is called the basis of the analogy, which is the issue or item of which the text speaks or on which there is consensus.
- The novel issue is nabeedh, which is the matter concerning which analogy is made. This is the matter concerning which there is no text or consensus; it is the issue for which we want to find the shara‘i ruling.

- The ruling is that it is prohibited. This refers to a ruling that is proven concerning the basic issue, whether on the basis of a text or consensus, and whether the ruling is one of prohibition or otherwise, which we want to transfer to the novel issue concerning which there is no evidence or direct mention in any text.
- The common factor is intoxication. The factor is the reason for which the Lawgiver issued a ruling concerning the basic issue.

Visually, we can summarize it as follows:


It is worth noting that the Prophet (blessings and peace of Allah be upon him) used analogy in his fatwas to point out this principle to the people and teach it to them.

For example:

Al-Bukhaari (1852) narrated from Ibn ‘Abbaas (may Allah be pleased with him) that a woman from Juhaynah came to the Prophet (blessings and peace of Allah be upon him) and said: My mother vowed to perform Hajj, but she did not perform Hajj before she died; can I perform Hajj on her behalf? He said: “Yes, perform Hajj on her behalf. Don’t you think that that if your mother owed a debt, wouldn’t you pay it off? So pay off the debt owed to Allah, for Allah is more deserving of having debts owed to Him being paid off.”

Friday 4 December 2015

Bidayat al-Mujtahid: The Distinguished Jurist's Primer (Read and Download)

In the Name of Allâh, the Most Beneficent, the Most Merciful



Bidayat al-Mujtahid: The Distinguished Jurist's Primer by Ibn Hazm:

Ibn Rushd was a Maliki Jurist (Qadi) but presents the views of other schools (Hanifi, Shaf'ee, hanbali & Zahiri) with the usual Respect and objectivity. This book is among the best-known example of the Shari'a science of Ilm al Khilaf (the knowledge of variant ruling) It is one of the most well-known works of ilm-ul- Khilaf, a discipline that records and analyses the differences among Muslim Jurists.
Ibn Rushd’s Bidayat al-Mujtahid (The Distinguished Jurist’s Primer) occupies a unique place among the authoritative manuals of Islamic law. It is designed to prepare the jurist for the task of the mujtahid, the independent jurist, who derives the law and lays down precedents to be followed by the judge in the administration of justice. In this manual Ibn Rushd traces most of the issues of Islamic law, describing not only what the law is, but also elaborating the methodology of some of the greatest legal minds in Islam to show how such laws were derived.
This text provides a still-relevant basis for the interpretation and formulation of Islamic law. Combining his legal and philosophical knowledge, Ibn Rushd transcends the boundaries of different schools and presents a critical analysis of the opinions of the famous Muslim jurists and their methodologies.
The legal subject areas covered include marriage and divorce; sale and exchange of goods; wages, crop-sharing and speculative partnership; security for debts and insolvency; gifts, bequests and inheritance; and offences and judgements.


English
Bidayat al-Mujtahid: The Distinguished Jurist's Primer
Ibn Al Hazm
(Comparative Fiqh)
Vol1 (139 MB Approx)
Read Download
Full text (for search)
Vol2 (142 MB Approx) 
Read / Download
Full text (for search)


CLICK HERE for a huge collection of books on Usool Al-Fiqh

Thursday 29 October 2015

How to be happy?

What brings us real happiness?
Can we be happier if we have more money?
Can fame bring us happiness?
Does true happiness lie in fulfilling our desires?
If not, what is it?

Our new booklet discusses where happiness actually lies and where it doesn't and provides practical workable solution to live a happy life leaving behind our worries and sadness.

Read and Share.

Book: Read / Download
Audio (Khutbah): Download


Sunday 25 October 2015

How to add facebook feed to your website

Assalam o Alaikum Everyone,

We have updated our facebook feed outlook and feel on our website and on this blog.
To view activity feed on facebook, click the link below:


If you are interested in building your own website and want to understand how it works, read on..

_____________


We can embed facebook posts/ feed on websites through embed tools.

Embed tools are available from facebook developers forum as well as other external developers. Facebook's own tools are free. External ones are a mix of free and paid ones. Free ones usually come with branding.


We were initially using POWe embed tool which worked fine initially and had a good impressive layout. 
However, recently, without any trigger or notice, it switched to feed for another facebook page. I found this with a great surprise.

I have accordingly now moved to embed through www.feederninja.com.
It is a free tool.. and is beautiful indeed.

Facebook developers tool is also free but look pretty old style with maximum container width fixed to 500 (even if you right 5000 as width in your code :)  ).

Therefore, feeder ninja is my choice.

The process to use this for your feed is really simple.

- You are required to have your own facebook page (you will need its URL to generate feed)
- Go to www.feederninja.com website and click 'generate':


- Some social media icons will appear on your screen.
- Select facebook and enter URL for your page
- You can customize your feed.
- Before you can generate an HTML code, you will be required to create login
- Create login and verify
- You can now get HTML code for your feed. Don't forget that you can still edit it (and change the height of feed container if you like.. 1000 or 1500 px may be suitable)
- Go to your website builder (weebly, blogger.com, wordpress etc.) and embed HTML through embed options available.

Here you go.
It is a beautiful feed with only a little diagonal strip at lower right corner mentioning that it is from feeder ninja.

The layout is so beautiful that you would naturally love to share it with others as I am doing now.

Don't forget to visit Australian Islamic Library.
Happy reading.

Kind Regards,
Nabeel

Sunday 18 October 2015

New Tafsir books added

We have proudly added following tafsir books on library's tafsir bookshelf.
Read and remember us in prayers.



Tafsir Al-Mayasser is written by a group of comporary scholars in a way that it can be used by common reader.
Audio explanation in Malay is also available.


Badai'i At-Tafsir is a collection of explanations of Quran from Ibn Al-Qayyim Al-Jouziyah from his 32 books.


Jazakallah,