User Tools

Site Tools


Writing /home/tanzil/public_html/docs/data/cache/d/d65d448cd8e9a2c3de0638291a651923.metadata failed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
embed_tanzil [2016/06/05 16:04]
Hamid Zarrabi-Zadeh
embed_tanzil [2016/07/08 18:36]
Hamid Zarrabi-Zadeh
Line 3: Line 3:
 You can put the following code into your website to provide Tanzil quran navigator to your visitors: You can put the following code into your website to provide Tanzil quran navigator to your visitors:
  
-<​code ​html>+<​code>​
   <iframe width="​770"​ height="​1000"​ src="​http://​tanzil.net/?​embed=true" ​   <iframe width="​770"​ height="​1000"​ src="​http://​tanzil.net/?​embed=true" ​
-    ​style="​overflow-x:​ hidden; overflow-y: auto;" scrolling="​no"​ frameborder="​0">​+     style="​overflow-x:​hidden;​ overflow-y:​auto;"​ scrolling="​no"​ frameborder="​0">​
   </​iframe>​   </​iframe>​
 </​code>​ </​code>​
Line 11: Line 11:
 You can also specify a default translation for your visitors by setting ''​defTrans''​ parameter like below: You can also specify a default translation for your visitors by setting ''​defTrans''​ parameter like below:
  
- &lt;iframe width="​770"​ height="​1000"​ src="​http://​tanzil.net/?​embed=true&​defTrans=ar.muyassar"​  +<​code>​ 
- ​style="​overflow-x:​ hidden; overflow-y: auto;" scrolling="​no"​ frameborder="​0">​&lt;/iframe>+  <​iframe ​iframe width="​770"​ height="​1000" ​ 
 +     src="​http://​tanzil.net/?​embed=true&​defTrans=ar.muyassar"​  
 +     ​style="​overflow-x:​hidden;​ overflow-y:​auto;"​ scrolling="​no"​ frameborder="​0">​ 
 +  </iframe
 +</code>
  
 In the example above, ''​defTrans''​ is set to ''​en.yusufali''​ which is the id for English translation of Yusuf Ali. Id's for other translations can be obtained from our [[http://​tanzil.net/​trans/​|Translations Repository]]. In the example above, ''​defTrans''​ is set to ''​en.yusufali''​ which is the id for English translation of Yusuf Ali. Id's for other translations can be obtained from our [[http://​tanzil.net/​trans/​|Translations Repository]].
  
Tanzil © 2007–2019