Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: JS PHP-F skine

Parašė Bencius· 2010 Spa. 28 02:10:32
#1

Sveiki, man nerealiai reikia jusu pagalbos... Meginu iterpti i themes.php JS ir siektiek html kodo, bet man vis nepavyksta... Tai prasau padekit jei nesunku ;) Aciu is anksto :) Kodo istrauka is temos.

</td><td>
<center><b><span style='color:red'>Tik &#232;ia groja j&#251;sø m&#235;gstama muzika </b><br><br>
<a href='http://82.135.230.138:8000/listen.pls'><img src='".THEME."images/winamp.png' alt='' border='0'></a></center>
 
 
 
		</td>
 
 
 


Kodas kuri noriu iterpti:

<div id="internetas">
<a title="Klausykite radijos internetu." href="javascript: openPlayer('radio_our_lt');"><img src='".THEME."images/internetu.png' alt='' border='0'></a></div>
 
<script language="JavaScript" type="text/javascript">
function openPlayer(strStation) {
 
 
 
    //Making Sure that the call to open-command byvaled proper strStation-string.
 
    if(strStation == "radio_our_lt") {
 
 
 
        // strStation was fine, setting global settings for webbplayer popup
 
        strUrl = "/webplayer.php";
 
 
 
        // Now walking thru stations rix, nrj, lugna, svenska, bandit and setting settings.
 
        if(strStation=="radio_our_lt")  {strStationUrl = "http://www.radio.our.lt";}
 
 
 
        // Setting URL-variable to open in the player.
 
        strPlayerUrl = strStationUrl + strUrl;
 
 
 
        // Opening player based on above variables.
 
        var player = window.open(strPlayerUrl, "Webbradio", "width=335,height=315,scrollbars=no,resizable=no,status=yes,location=no,toolbar=no,directories=no, menubar=no");
 
    }
 
    else {
 
        // The parametervalue for strStation didnt match any of the stations. Informing developer with a alert-box.
 
        alert("Error: Incorrect stationstring in strStation (" + strStation + " is not available as a radiostream)");
 
    }
 
 
 
}
</script>
 

Ir pagal ideja cia turetu gautis kaip powerhitradio.lt webplayerio atsidarymas ;)

Redagavo Bencius· 2010 Spa. 28 11:10:28

Parašė Styw0W· 2010 Spa. 28 03:10:58
#2

Pirmiausiai išjunk smailus, iš kodų.. :)

Parašė Bencius· 2010 Spa. 28 11:10:01
#3

" href="javascript: openPlayer('radio_our_lt') Cia tarpo neturetu buti :) As ji padejau kad smile nemestu;)