• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Kolorowy tekst

Notify

New Member
Joined
Dec 6, 2009
Messages
76
Reaction score
0
Witam. Mam pytanie, wie ktos jak zrobic aby w Acc Makerze np. napis "Who is online?" co kilka sekund zmienial kolor?

Prosze o pomoc.
Pozdrawiam.
 
Nie ma juz tej strony.

To podpowiesz/podpowie ktos?
 
Last edited by a moderator:
Znalazlem cos takiego, sprobuj


<script language="JavaScript1.2">

/*
Neon Lights Text
By Website Abstraction (JavaScript Kit- Your comprehensive JavaScript, DHTML, CSS, and Ajax stop)
For this script, TOS, and 100s more DHTML scripts,
Visit Dynamic Drive DHTML(dynamic html) & JavaScript code library
*/

var message="Welcome to Dynamic Drive!"
var neonbasecolor="gray"
var neontextcolor="yellow"
var flashspeed=100 //in milliseconds

///No need to edit below this line/////

var n=0
if (document.all){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
document.write('</font>')

//cache reference to neonlight array
var tempref=document.all.neonlight
}
else
document.write(message)

function neon(){

//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
tempref[m].style.color=neonbasecolor
}

//cycle through and change individual letters to neon color
tempref[n].style.color=neontextcolor

if (n<tempref.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}

function beginneon(){
if (document.all)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
</script>
 
Last edited:
<!--Original script by SPD. Visit us for more scripts like this one at superprodesign.com Forbidden by copyright law to remove this comments under any situation. Enjoy!-->
<script>
<!--Write the message below between the "" like in the example below-->
mess4591598="W tym miejscu wpisz własny tekst"
<!--Write the font color here between the "" like in the example below-->
fnt4591598="black"
<!--Write the font size between the "" like in the example below-->
fnts4591598="23px"
<!--Don't edit from here on-->
rai4591598=new Array()
rai4591598[0]="red"
rai4591598[1]="orange"
rai4591598[2]="yellow"
rai4591598[3]="chartreuse"
rai4591598[4]="blue"
rai4591598[5]="indigo"
rai4591598[6]="violet"
l4591598=0
function emp4591598(){
if (l4591598<rai4591598.length-1){
l4591598++
}
else{
l4591598=0
}
eso4591598.style.color=eval("rai4591598["+l4591598+"]")
j4591598=setTimeout("emp4591598()",500)
}
function aca4591598(){
clearTimeout(j4591598)
eso4591598.style.color=fnt4591598
}
document.write("<span style='font-size:"+fnts4591598+";color:"+fnt4591598+"' onmouseover=emp4591598() onmouseout=aca4591598() id='eso4591598'>"+mess4591598+"</span>")</script><!-- End of script -->

Cos takiego mam, tyle ze aby zmienil sie kolor trzeba najechac na niego myszka, wie ktos jak przerobic zeby automatycznie sie te kolory zmienialy?
 
Mam skrypt ktory dziala w html'u. Moglby ktos pomoc przerobic pod acc makera?


<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<SCRIPT LANGUAGE= "JavaScript" type= "text/javascript">
<!-- Ukrycie przed przeglądarkami nie obsługującymi JavaScriptów
var speed = 1;
var step = 10;
var index = 0;
var colorTable = new Array();
var cR = new Array();
var cG = new Array();
var cB = new Array();
function prepareColors(RF, GF, BF, RT, GT, BT, pos)
{
if (RF == RT){
for (i = 0; i < 256; i++){
cR = RT;
}
}
else{
if (RF < RT){
for (i = RF; i < RT; i++){
cR = i;
}
}
else{
x = 0;
for (i = RF; i > RT; i--){
cR[x++] = i;
}
}
}
if (GF == GT){
for (i = 0; i < 256; i++){
cG = GT;
}
}
else{
if (GF < GT){
for (i = GF; i < GT; i++){
cG = i;
}
}
else{
x = 0;
for (i = GF; i >= GT; i--){
cG[x++] = i;
}
}
}
if (BF == BT){
for (i = 0; i < 256; i++){
cB = BT;
}
}
else{
if (BF < BT){
for (i = BF; i < BT; i++){
cB = i;
}
}
else{
x = 0;
for (i = BF; i >= BT; i--){
cB[x++] = i;
}
}
}
for (i = 0; i < 255; i++){
color = (cR < 16)? '0' + cR.toString(16):cR.toString(16);
color += (cG < 16)? '0' + cG.toString(16):cG.toString(16);
color += (cB < 16)? '0' + cB.toString(16):cB.toString(16);
color = '#' + color;
colorTable[pos * 256 + i] = color;
}
}
function makeTable()
{
prepareColors(255, 255, 255, 255, 255, 0, 0);
prepareColors(255, 255, 0, 0, 255, 0, 1);
prepareColors(0, 255, 0, 0, 255, 255, 2);
prepareColors(0, 255, 255, 0, 0, 255, 3);
prepareColors(0, 0, 255, 255, 0, 255, 4);
prepareColors(255, 0, 255, 255, 0, 0, 5);
prepareColors(255, 0, 0, 255, 255, 255, 6);
}
function textChange()
{
document.getElementById('text').style.color = colorTable[index];
index += step;
if (index > colorTable.length || index < 0) step = -step;
setTimeout("textChange()", speed);

}
// Koniec kodu JavaScript -->
</SCRIPT>
</HEAD>
<BODY onLoad='makeTable();textChange()'>
<DIV ID="text"
style = "visibility: visible;
width:40%;
heigth:20%;
text-Align:center;
position:relative;
top:10%;
left:30%;
background-color:#000000";
>
<H2>Tekst na warstwie</H2>
</DIV>
</BODY>
</HTML>
 
Lol, wszystko za pieniadze :D Nie dlugo starych nam tu wystawicie, a co do zmieniajacego sie koloru, byl on w layoucie melani ;D
 
Back
Top