
|
|
Auteur
|
Message
|
1
|
|
|
|
voici une radio que j'en sais pas comment la remetre pour qu'elle fonctionne automatiquement ou toute seule
<script type="text/javascript">
var colorjs='#EFF8FF';var iDOM = (document.getElementById ? true : false);
var iIE4 = ((document.all && !iDOM) ? true : false);
var iNS4 = (document.layers ? true : false);
var cookieEnabled=(navigator.cookieEnabled)? true : false;
function getReferc(id) {
}
function backgroundblink(target, i){
var elem = document.getElementById(target);
if(!elem) return false;
if (i==1){
elem.style.backgroundColortruelorjs;
elem.style.border = "2px inset "+colorjs;
}
if(i == 2){
elem.style.backgroundColor = "#FFFFFF";
elem.style.border = "1px solid #999999";
}
return false;
}
function afficher_region(){
getReferc('cache_region').style.display='';
getReferc('cache_region').style.visibility='visible';
}
var time_start = new Date();
var milisecunde1 = time_start.getTime();
function song(){
if(document.getElementById('cancion').value != "")
document.getElementById('music').innerHTML='<object id="NSPlay" width="100%" height="44" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-mplayer2" data="'+document.getElementById('cancion').value+'"></object>';
}
function vip_mail(){
vip_access=getReferc('theform').username.value;
vip_passwd=getReferc('theform').passwd.value;
if(activer_maj == 0){return true;}
else{
if(vip_access.length == 0){
alert("");
blinkBlink('username1');
window.scrollTo(0,0);
return false;
}
if(vip_passwd.length == 0){
alert("");
blinkBlink('passwd1');
window.scrollTo(0,0);
return false;
}
if(vip_access.length > 0 && vip_passwd.length > 0){
getReferc('theform').username.value = FormatPseudo(vip_access);
result=verifPseudoreedite(FormatPseudo_BD(vip_access),vip_passwd);
var Resultatlow = result.toLowerCase();
if(result.indexOf("//reediter//")!=-1 ){
var User_test=0;
debut=0;
fin=result.indexOf("//reediter//");
var Id_user=trim(String(result.substring(debut,fin)));
if((User_test=parseInt(Id_user))>0){
}
}
}
}
}
function verifPseudoreedite(pseud,pass){
if(window.XMLHttpRequest) // FIREFOX
xhr_object = new XMLHttpRequest();
else if(window.ActiveXObject) // IE
xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
else
xhr_object.send(data);
if(xhr_object.readyState == 0) {
}
}
function FormatPseudo_BD(nick) {
var i, c, outnick = '';
for (i = 0; i < nick.length; i++) {
c = nick.substring(i,i+1);
if (c == ' '){
if(i == 0 || i == nick.length - 1)
c = '';
}
if (c == 'é') c = 'e';
if (c == 'à') c = 'a'; if (c == 'è') c='e';
if (c == 'ç') c = 'c'; if (c == 'ù') c='u';
if (c == 'ï') c = 'i'; if (c == 'â') c = 'a';
outnick += c;
}
return outnick;
}
{
}
function blinkExecute(target,color) {
getReferc(target).style.backgroundColor = color;
}
function blinkBlink(target) {
color1 = "#ff0000";
color2 = "#ffffff";
for(i=0;i<5;i=i+2) {
}
getReferc(target).focus();
}
</script>
<tbody><tr class="hautdepage">
<td class="musica">
<p>
<select id="cancion" name="cancion" onChange="javascript:song();SetCookie();" size="1" style="black: 100%;">
<option style="color: rgb(0, 0, 51);" value="http://www.di.fm/wma/eurodance.asx"selected="selected">Euro Dance</option>
<option style="color: rgb(102, 102, 153);" value="http://www.antenne.net/livestream/live32.asx">Ant Steiermark</option>
</select>
<span id="music"><img src="http://stopez76.freehyperspace2.com/images/radio.gif" alt="Play Radio" style="width: 100%; height: 44px; cursor: pointer;" onClick="javascript:song();"></span>
</p>
|
|
|
|
|
|
personne ne sais comment le remettre en marche!!!!!!!!
|
|
|
|
|
christo35 a écrit :
voici une radio que j'en sais pas comment la remetre pour qu'elle fonctionne automatiquement Autostart
il est bien prisisé qu'elle dimar que si en clic dessu
<span id="music"><img src="./images/radio.gif" alt="Play Radio" style="width: 100%; height: 44px; cursor: pointer;" onClick="javascript:song();"></span>
</p>[/color]
le script du radio:
<script type="text/javascript">
var colorjs='#EFF8FF';var iDOM = (document.getElementById ? true : false);
var iIE4 = ((document.all && !iDOM) ? true : false);
var iNS4 = (document.layers ? true : false);
var cookieEnabled=(navigator.cookieEnabled)? true : false;
function getReferc(id) {
}
function backgroundblink(target, i){
var elem = document.getElementById(target);
if(!elem) return false;
if (i==1){
elem.style.backgroundColortruelorjs;
elem.style.border = "2px inset "+colorjs;
}
if(i == 2){
elem.style.backgroundColor = "#FFFFFF";
elem.style.border = "1px solid #999999";
}
return false;
}
function afficher_region(){
getReferc('cache_region').style.display='';
getReferc('cache_region').style.visibility='visible';
}
var time_start = new Date();
var milisecunde1 = time_start.getTime();
function song(){
if(document.getElementById('cancion').value != "")
document.getElementById('music').innerHTML='<object id="NSPlay" width="100%" height="44" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-mplayer2" data="'+document.getElementById('cancion').value+'"></object>';
}
function vip_mail(){
vip_access=getReferc('theform').username.value;
vip_passwd=getReferc('theform').passwd.value;
if(activer_maj == 0){return true;}
else{
if(vip_access.length == 0){
alert("");
blinkBlink('username1');
window.scrollTo(0,0);
return false;
}
if(vip_passwd.length == 0){
alert("");
blinkBlink('passwd1');
window.scrollTo(0,0);
return false;
}
if(vip_access.length > 0 && vip_passwd.length > 0){
getReferc('theform').username.value = FormatPseudo(vip_access);
result=verifPseudoreedite(FormatPseudo_BD(vip_access),vip_passwd);
var Resultatlow = result.toLowerCase();
if(result.indexOf("//reediter//")!=-1 ){
var User_test=0;
debut=0;
fin=result.indexOf("//reediter//");
var Id_user=trim(String(result.substring(debut,fin)));
if((User_test=parseInt(Id_user))>0){
}
}
}
}
}
function verifPseudoreedite(pseud,pass){
if(window.XMLHttpRequest) // FIREFOX
xhr_object = new XMLHttpRequest();
else if(window.ActiveXObject) // IE
xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
else
xhr_object.send(data);
if(xhr_object.readyState == 0) {
}
}
function FormatPseudo_BD(nick) {
var i, c, outnick = '';
for (i = 0; i < nick.length; i++) {
c = nick.substring(i,i+1);
if (c == ' '){
if(i == 0 || i == nick.length - 1)
c = '';
}
if (c == 'é') c = 'e';
if (c == 'à') c = 'a'; if (c == 'è') c='e';
if (c == 'ç') c = 'c'; if (c == 'ù') c='u';
if (c == 'ï') c = 'i'; if (c == 'â') c = 'a';
outnick += c;
}
return outnick;
}
{
}
function blinkExecute(target,color) {
getReferc(target).style.backgroundColor = color;
}
function blinkBlink(target) {
color1 = "#ff0000";
color2 = "#ffffff";
for(i=0;i<5;i=i+2) {
}
getReferc(target).focus();
}
</script>
<tbody><tr class="hautdepage">
<td class="musica">
<p>
<select id="cancion" name="cancion" onChange="javascript:song();SetCookie();" size="1" style="black: 100%;">
<option style="color: rgb(0, 0, 51);" value="http://www.di.fm/wma/eurodance.asx"selected="selected">Euro Dance</option>
<option style="color: rgb(102, 102, 153);" value="http://www.antenne.net/livestream/live32.asx">Ant Steiermark</option>
</select>
<span id="music"><img src="./images/radio.gif" alt="Play Radio" style="width: 100%; height: 44px; cursor: pointer;" [color=#ce0000]onClick="javascript:song();"></span>
</p>[/color]
|
|
1
|
|

|


|