Quran.VerseNo.page( page )

Gets the verse number by page number


Quran.VerseNo.page( page )

Page number need to be added here


Examples:

Example: verse number for page

<!DOCTYPE html>
<html>
<head>
  <style>#demo{ color:lightBlue; }</style>
  <script src="http://code.jquery.com/jquery-latest.js"></script>
  <script src="http://globalquran.com/javascript/Quran.js"></script>
</head>
<body>
  <div id="demo">

</div>
<script>
$('#demo').append('Page: 1 verse number is '+Quran.verseNo.page(1))
.append('<br />');
$('#demo').append('Page: 2 verse number is '+Quran.verseNo.page(2))
.append('<br />');
 // last page of Quran
$('#demo').append('Page: 604 verse number is '+Quran.verseNo.page(604))
.append('<br />');
</script>
</body>
</html>

Demo:

Comments


blog comments powered by Disqus

.