Sayfaniza muzik
Giriş Yap Tema Rengi Konu Mesaj Üyeler
Merhaba, Ziyaretçi. Lütfen giriş yapın veya üye olun.
Kullanıcı Adı:
Şifre:

11203 22428 Toplam üye: 17859
Son üye: shosau
 
Ana Sayfa Yardım Arcade Giriş Yap Kayıt
 

Reklamlar
Konu Bilgileri
Konu BasligiKonu: Sayfaniza muzik
Cevap SayisiCevap Sayisi: 1 cevap var
Okunma SayısıOkunma Sayısı 186 defa
Bu Konuyu Görüntüleyenler0 Üye ve 1 Ziyaretçi konuyu incelemekte.
Sayfa: [1]   Aşağı git
  Yazdır  
Gönderen Konu: Sayfaniza muzik  (Okunma Sayısı 186 defa)
0 Üye ve 1 Ziyaretçi konuyu incelemekte.
M@n_Zade
M@n_Zade
siberTurk
*

KARMA: 4
Offline Offline

Cinsiyet: Bay
Mesaj Sayısı: 2197

Konu Sayısı: 1814

M@n_Zade


Aktiflik

Deneyim
Seviye
Kötü İtibar

WWW
« : 10 Mayıs 2008, 20:37:40 »

Asagidaki script'te URL'lari ve isimleri degistiriniz sadece:


Kod:
<!-- start code provided by createblog.com -->
<OBJECT ID="Player" height="0" width="0" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM NAME="uiMode" VALUE="invisible">
<PARAM NAME="Autostart" VALUE="False">
</object>

<FORM ID="form">

<SELECT ID="playlist" size="1">

<!-- Add song info that appears in drop down list here -->
<option value="0">Unchained Melody</option>
<option value="1">Don't make my brown eyes blue</option>
<option value="2">Longer</option>
<option value="3">Only You</option>
<option value="4">Leaving on a jet plain</option>
<option value="5">I will always love you</option>
<option value="6">I just called to say..</option>
<option value="7">Love me tender</option>
<option value="8">My heart will go on</option>
</SELECT>
<BR>
<BUTTON ID="BackButton" onClick="Back(forms['form'].playlist);"> << </BUTTON>
<BUTTON ID="PlayPauseButton" onClick="PlayPause(forms['form'].playlist);"><FONT color="green">Play</FONT></BUTTON>
<BUTTON ID="NextButton" onClick="Next(forms['form'].playlist);"> >> </BUTTON>
<BUTTON ID="StopButton" onclick="Stop();"><FONT color="maroon">Stop</FONT></BUTTON>
<b><font size="3" color="black">Shuffle</font></b><INPUT TYPE=checkbox CHECKED ID="ShuffleSwitch" onclick="ToggleShuffle(this);" value="ON">
</FORM>
<comment ID="PlayHTML"><FONT color="green">  Play  </FONT></comment>
<comment ID="ShuffleOnHTML"><INPUT TYPE=checkbox CHECKED ID="ShuffleSwitch" onclick="ToggleShuffle(this);"></comment>
<comment ID="ShuffleOffHTML"><INPUT TYPE=checkbox UNCHECKED ID="ShuffleSwitch" onclick="ToggleShuffle(this);"></comment>


<script ID="Main" Language="JavaScript">

   var songs = new Array();

   //*******************************//
   //****** CHANGEABLE STUFF *******//
   //*******************************//
   
   var shuffle = false;  // false = shuffle off, true = shuffle on

   var autoStart = true;   // false = autoStart off, true = autoStart on
   
   var numberTracks = true;  // true = place track number in front of list items, false = no track numbers
   
   // Add song URLs here (make sure it matches up with the order you have for song info, and urls need quotes):
   songs[0]="url://www.angelfire.com/ok2/WildDancer/images/unchained2.wav";
   songs[1]="Linklerin Görülmesine İzin Verilmiyor
Register or Login";
   songs[2]="url://www.angelfire.com/on3/oceanangel/DanFogelbergLonger.wav";
   songs[3]="url://www.celebritydirect.org/notweb/music/pl-onlyyou.mp3";
   songs[4]="url://www.angelfire.com/on2/MoniqueM/images/LeavingOnAJetPlane.wav";
   songs[5]="url://www.angelfire.com/hi4/MoniqueM/images/alwaysloveyou.wav";
   songs[6]="url://www.geocities.com/poppage11/StevieWonderIJustCalledToSayILovedYou.wav";
   songs[7]="url://www.angelfire.com/oh2/MoniqueM/images/lovemetender.wav";
   songs[8]="url://www.angelfire.com/on3/MoniqueM/images/MyHeartWillGoOn.wav";
   
   //*******************************//
   //*******************************//

// Initializations //
with (document){
   var length = forms['form'].playlist.length;

   if(numberTracks){
  for (var i = 0; i < length; i++){
     forms['form'].playlist.options.innerHTML = (i+1) + " - " + forms['form'].playlist.options.innerHTML;
  }
   }
   
   if (shuffle) {
  var randsg = Math.floor(Math.random()*songs.length);
  Player.url = songs[randsg];
  forms['form'].playlist.options[randsg].selected = true;
  forms['form'].ShuffleSwitch.outerHTML = ShuffleOnHTML.innerHTML;
   }

   else {
  forms['form'].ShuffleSwitch.outerHTML = ShuffleOffHTML.innerHTML;
  Player.url = songs[0];
   }

   if(autoStart){
  var snum = forms['form'].playlist.selectedIndex;
  if(Player.url != songs[snum]){
     Player.url = songs[snum];
  }
  Player.controls.Play();
   }
}

// Functions //
// Discription: "PlayPause" will toggle playing and pausing if the same song is still selected,
//              otherwise it will load the newly selected song
function PlayPause(list) {
   var snum = list.selectedIndex;
   
   if((Player.url == songs[snum] && Player.url != "") && Player.playState != 1){
  if(Player.playState == 3){
     Player.controls.Pause();
  }
 
  else {
     Player.controls.Play();
  }
   }

   else {
  Player.url = songs[snum];
  Player.controls.Play();
   }
}

// Discription: "Next" will move to the next music file if shuffle is off
//              otherwise it will load a random song. Calls PlayPause to start music.
function Next(list) {
   var snum = list.selectedIndex;
   if (!shuffle) {
  if (snum == list.length-1) {
     snum = -1;
  }
  snum++;
   }
   
   else {
  var temp;
  do{
     temp = Math.floor(Math.random()*songs.length);
  } while(temp == snum);
  snum = temp;
   }
   
   list.options[snum].selected = true;
   PlayPause(list);
}

// Discription: "Back" does the same thing as "Next" but moves backwads
//              through the list. If shuffle is on then picks a random song.
function Back(list) {
   var snum = list.selectedIndex;
   if (!shuffle) {
  if (snum == 0){
     snum = list.length;
  }
  snum--;
   }
   
   else {
  var temp;
  do{
     temp = Math.floor(Math.random()*songs.length);
  } while(temp == snum);
  snum = temp;
   }
   
   list.options[snum].selected = true;
   PlayPause(list);
}

// Discription: Self explanitory.
function Stop(){
   Player.controls.Stop();
}

// Discription: Makes the shuffle flag the same as the status of the CheckBox
//    The status of the checkbox (true/false) indicates if the box is checked
function ToggleShuffle(CheckBox) {
   shuffle = CheckBox.status;
}

</SCRIPT>

<script ID="StateChangeHandler" Language = "JavaScript" For = "Player" Event = playStateChange(NewState)>

// Description: This is an interupt handler used to handle instances when the
//              state of the player changes to play or stop for example.

//STATE.innerText = NewState;

switch(NewState){
   case 8:  // Handles player after it just finishes playing through a song
  var num = document.forms['form'].playlist.selectedIndex;
   
  if (!shuffle){
     if(num == document.forms['form'].playlist.length-1){
    num = -1;
     }
 
     num++;
  }
  else {
     var temp;
     do{
    temp = Math.floor(Math.random()*songs.length);
     } while(temp == num);
     num = temp;
  }
   
  document.forms['form'].playlist.options[num].selected = true;
   
  PreviousState = NewState;
  break;

   case 1: // Handles player after it stops
  if(PreviousState == Cool{
     var num = document.forms['form'].playlist.selectedIndex;
     Player.settings.autoStart = true;
     Player.url = songs[num];
     PreviousState = NewState;
  }
 
  else if (PreviousState != 3 && PreviousState != 2){
     Player.controls.Play();
     Player.settings.autoStart = false;
  }
 
  else{
     forms['form'].PlayPauseButton.innerHTML = PlayHTML.innerHTML;
  }
  break;

   case 3: // Handles player after it starts to play
  PreviousState = NewState;
  forms['form'].PlayPauseButton.innerHTML = "Pause";
  shuffle = document.forms['form'].ShuffleSwitch.status;
  break;

   case 2: // Handles player after being paused
  PreviousState = NewState;
  forms['form'].PlayPauseButton.innerHTML = PlayHTML.innerHTML;
  break;

   default:
}

</SCRIPT>
<!-- end code provided by createblog.com -->
Logged


M@n_Zade
M@n_Zade
siberTurk
*

KARMA: 4
Offline Offline

Cinsiyet: Bay
Mesaj Sayısı: 2197

Konu Sayısı: 1814

M@n_Zade


Aktiflik

Deneyim
Seviye
Kötü İtibar

WWW
« Yanıtla #1 : 10 Mayıs 2008, 20:37:59 »

Bu kodla sitenizde Media player şeklinde müzik çalabilirsiniz.


Kod:
<P><EMBED align=bottom src=buraya mp3ünüzün adresini yazın width=150 height=50 type=audio/mpeg AUTOPLAY="0"></EMBED></EMBED></P>
Logged


   
Sayfa: [1]   Yukarı git
  Yazdır  

 
Gitmek istediğiniz yer:  

|Site Map | Site Map2 | Arşiv | Wap | Wap2 | Wap Forum | XML | Rss | Google Tagget
|SiberTurk | Frmby
Reklam Vermek için by.deman@msn.com Adresine e-mail gönderiniz
For Advertising contact by.deman@msn.com

MySQL ile Güçlendirildi PHP ile Güçlendirildi Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Asuke MC by Fakdordes & SaSuKe
XHTML 1.0 Geçerli! CSS Geçerli!
Bu Sayfa 0.158 Saniyede 24 Sorgu ile Oluşturuldu