qzaidi / quran

node,websql and javascript API for Holy quran
qzaidi.github.io/quran/
Creative Commons Attribution 4.0 International
123 stars 36 forks source link

Want to ask about random ayat? #2

Closed azulkipli closed 8 years ago

azulkipli commented 9 years ago

Hi, Assalamualaikum thanks for this great project.

I see this http://qzaidi.github.io/quran/javascript/ Any method to get random ayat ? It will be great easy for regular user to just copy paste the snippet for random ayat

qzaidi commented 9 years ago

Walekum As salam,

Its a great idea. I will add that as a feature, as soon as I have some free time.

On Tue, Aug 25, 2015 at 4:34 PM, azul notifications@github.com wrote:

Hi, Assalamualaikum thanks for this great project.

I see this http://qzaidi.github.io/quran/javascript/ Any method to get random ayat ? It will be great easy for regular user to just copy paste the snippet for random ayat

— Reply to this email directly or view it on GitHub https://github.com/qzaidi/quran/issues/2.

qzaidi commented 9 years ago

The basic feature is added (you just need to skip chapter and verse selectors).

There is an example at http://qzaidi.github.io/2013/10/05/quranjs/.

I am not closing the issue, because I need to now make it clearer which ayat is being shown.

azulkipli commented 9 years ago

so can I do like this ?

<script src="http://qzaidi.github.io/quran/js/quran.js">
</script>
qzaidi commented 9 years ago

yes. it should work.

qzaidi commented 8 years ago

Added Ayah Numbering, closing issue.