Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Czcionka w skrypcie...
Buczuś
post
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 8.05.2003
Skąd: Wrocław

Ostrzeżenie: (0%)
-----


Mam taki problem. Otóż w skrypcie Hot News (ze tekst idzie nadu i znika i znowu sie pojawia) niewiem jak zmienić czcionke. Jeśli ktos moze powiedziec jak to zrobic to bede bardzo wdzięczny.

Pozdrowienia.Buczuś
mangus.glt.pl :oops:
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Buczuś
post
Post #2





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 8.05.2003
Skąd: Wrocław

Ostrzeżenie: (0%)
-----


oto ten skrypt <script language="JavaScript">
var mw=100 /* The width */
var mh=80 /* The height */
var sp=1 /* The Speed */
var text= ' <font color=black>XXXXX</font> '
if (document.all)document.write('<marquee direction="up" scrollAmount='+sp+' style="width:'+mw+';height:'+mh+'">'+text+'</marquee>')
function loop()
{
window.location.reload()
}
function loop2()
{
if (document.layers) { setTimeout("window.onresize=loop",350)
init()
}
}
function init()
{
document.marq.document.marqEx.document.write(text)
document.marq.document.marqEx.document.close()
thelength=document.marq.document.marqEx.document.height
runmarq()
}
function runmarq()
{
if (document.marq.document.marqEx.top>=thelength*(-1)) {
document.marq.document.marqEx.top-=sp
setTimeout("runmarq()",100)
}
else
{
document.marq.document.marqEx.top=mh
runmarq()
}
}
window.onload=loop2
</script>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 26.09.2025 - 22:58