CSS

Saturday, August 20, 2011

Random Player 37 Surahs in Juz 'Amma

The most commonly referred and memorized juz' is "juz' Amma'," which is the 30th juz' and contains Surahs 78 through 114, most of the shortest suras in the Qur'an. 'Amma is generally taught first to children. Juz Amma is named after the 1st word of the 1st sura (i.e. sura 78) in that juz.

<center>

<script type="text/javascript">
<!--
if(!document.getElementById('judul-surat-player')){
  document.write('<div id="judul-surat-player" style="height:12px;"></div>');
}

if(!document.getElementById('surat-player')){
  document.write('<embed id="surat-player" wmode="transparent" src="" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="top" height="20"></embed>');
}

if(!document.getElementById('kontrol-surat-player')){
  document.write('<div id="kontrol-surat-player" style="margin-top:5px;"></div>');
}

function stelSurat(mp3,judul){
  if(judul==null || judul==''){
    var ke = mp3.split('/').length-1;
    judul = 'Al-Qur\'an, Surat ke '+mp3.split('/')[ke].replace('.mp3','');
  }
  var swfPl = 'http://beemp3.com/player/player.swf?soundFile='+mp3;
  var flashvar = '&autostart=yes&loop=no&bg=0x000000&leftbg=0xAF2910&lefticon=0xF2F2F2&rightbg=0xD67919&rightbghover=0x1BAD07&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0xE0E3F4&slider=0x357DCE&track=0xFFFFFF&border=0xFFFFFF&loader=0xAF2910';

  document.getElementById('judul-surat-player').innerHTML = '<a href="'+mp3+'">'+judul+'</a>';
  document.getElementById('surat-player').src = swfPl+flashvar;
  document.getElementById('kontrol-musik-player').innerHTML = '<iframe src="http://www.facebook.com/plugins/like.php?app_id=131581493563698&href='+mp3+'&send=false&layout=button_count&width=90&show_faces=true&action=like&colorscheme=light&font&height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:20px;" allowTransparency="true"></iframe><br/>Click the Like button above to Share this Surah on Your Facebook wall';
}

function acakSurat(){
  var dirUrl = 'http://download.quranicaudio.com/quran/abdulbaset_with_naeem_sultan_pickthall/';
  var dirUrlLainnya = 'http://download.quranicaudio.com/quran/sudais_shuraim_with_naeem_sultan_pickthall/';
  var arMp3 = [];
  for(x=78; x<=114; x++){
    if(x<100){arMp3[x]='0'+x+'.mp3'}else{arMp3[x]=x+'.mp3'}
  }
  arMp3 = arMp3.sort(function() {return 0.5 - Math.random()});
  var urlJadinya = dirUrl+arMp3[0];
  return urlJadinya;
}

stelSurat(acakSurat());
//-->
</script>

</center>


Link Directory Mp3 Al-Qur'an



7 comments:

[W̲̅i̲̅m̲̅p̲̅i̲̅] [P̲̅u̲̅t̲̅r̲̅a̲̅] said...

di share atuh kak templatenya?
plesae :)

.Aink- said...

Ari A Irland kamana ning aku fb na teu aya... kabawa palid sugan ???/

[W̲̅i̲̅m̲̅p̲̅i̲̅] [P̲̅u̲̅t̲̅r̲̅a̲̅] said...

templateny ko berantakan (Gak Jadi) kak?

[W̲̅i̲̅m̲̅p̲̅i̲̅] [P̲̅u̲̅t̲̅r̲̅a̲̅] said...

Please donk kak kasih template yg kaya ne,,,

please :(

Irland said...

berantakan karna css nya belom di pasang kali gan?
apa karna tabrakan sama isi widget yang lain?
coba aja widget yang lain di kosongin dulu
(isi pake <!-- --> aja)

template aing-creations-bata.zip
kalo template yang ini masih uncensored, jadi dimodip aja dulu kalo mau pasang..

.Aink- said...

Lumayaan sedooooot widgetna ,,,
Maghadiir salalala...
Maghadiir salalala...
XD

VICTOR STYLE said...

bang klu rubah gambar postingx....gimana bang....