Yazar |
Mesaj |
-
web-dersciniz
Acemi Üye
|
28.03.2010, 12:18 (UTC) Mesaj konusu: animasyonlu yazı kodu |
|
|
ben bir kod arıyorum animasyonlu yazı kodu böyle güzel ilgi çekkiçi bir kod.
lütfen büyük plmasın orta boy |
|
↑
|
|
|
-
bilgiliwebnet
Uzman Üye
|
28.03.2010, 12:24 (UTC) Mesaj konusu: |
|
|
şöyle bir kod var bakın...
Kod: <MARQUEE direction="up" scrollAmount="0scrollDelay=0" style="filter:wave(add=10,phase=1,freq=2,strength=35)" width="100" height="126"><FONT style="font-family:tahoma ;font-size:20px;color:#FF99cc"><CENTER><B><BR><BR>Y<BR>A<BR>Z<BR>I<BR>N<BR>I<BR>Z<BR><BR>!!! </B></CENTER></FONT></MARQUEE></P>
birde buna bakın...
Kod:
<h2 id="fly">YAZI VEYA MESAJINIZI BURAYA YAZINIZ!</h2>
<script type="text/javascript">
//Flying Letters
//Configure message to display. Use "$" for linebreak
//By default, set to just grab the text from element with ID="fly"
message = document.getElementById("fly").innerHTML; // $ = taking a new line
distance = 50; // pixel(s)
speed = 200; // milliseconds
var txt="",
num=0,
num4=0,
flyofle="",
flyofwi="",
flyofto="",
fly=document.getElementById("fly");
function stfly() {
for(i=0;i != message.length;i++) {
if(message.charAt(i) != "$")
txt += "<span style='position:relative;visibility:hidden;' id='n"+i+"'>"+message.charAt(i)+"</span>";
else
txt += "<br>";
}
fly.innerHTML = txt;
txt = "";
flyofle = fly.offsetLeft;
flyofwi = fly.offsetWidth;
flyofto = fly.offsetTop;
fly2b();
}
function fly2b() {
if(num4 != message.length) {
if(message.charAt(num4) != "$") {
var then = document.getElementById("n" + num4);
then.style.left = flyofle - then.offsetLeft + flyofwi / 2;
then.style.top = flyofto - then.offsetTop + distance;
fly3(then.id, parseInt(then.style.left), parseInt(then.style.left) / 5, parseInt(then.style.top), parseInt(then.style.top) / 5);
}
num4++;
setTimeout("fly2b()", speed);
}
}
function fly3(target,lef2,num2,top2,num3) {
if((Math.floor(top2) != 0 && Math.floor(top2) != -1) || (Math.floor(lef2) != 0 && Math.floor(lef2) != -1)) {
if(lef2 >= 0)
lef2 -= num2;
else
lef2 += num2 * -1;
if(Math.floor(lef2) != -1) {
document.getElementById(target).style.visibility = "visible";
document.getElementById(target).style.left = Math.floor(lef2);
} else {
document.getElementById(target).style.visibility = "visible";
document.getElementById(target).style.left = Math.floor(lef2 + 1);
}
if(lef2 >= 0)
top2 -= num3
else
top2 += num3 * -1;
if(Math.floor(top2) != -1)
document.getElementById(target).style.top = Math.floor(top2);
else
document.getElementById(target).style.top = Math.floor(top2 + 1);
setTimeout("fly3('"+target+"',"+lef2+","+num2+","+top2+","+num3+")",50)
}
}
stfly()
</script> |
|
↑
|
|
|
-
web-dersciniz
Acemi Üye
|
28.03.2010, 14:50 (UTC) Mesaj konusu: |
|
|
bilgiliwebnet yazmış: şöyle bir kod var bakın...
Kod: <MARQUEE direction="up" scrollAmount="0scrollDelay=0" style="filter:wave(add=10,phase=1,freq=2,strength=35)" width="100" height="126"><FONT style="font-family:tahoma ;font-size:20px;color:#FF99cc"><CENTER><B><BR><BR>Y<BR>A<BR>Z<BR>I<BR>N<BR>I<BR>Z<BR><BR>!!! </B></CENTER></FONT></MARQUEE></P>
birde buna bakın...
Kod:
<h2 id="fly">YAZI VEYA MESAJINIZI BURAYA YAZINIZ!</h2>
<script type="text/javascript">
//Flying Letters
//Configure message to display. Use "$" for linebreak
//By default, set to just grab the text from element with ID="fly"
message = document.getElementById("fly").innerHTML; // $ = taking a new line
distance = 50; // pixel(s)
speed = 200; // milliseconds
var txt="",
num=0,
num4=0,
flyofle="",
flyofwi="",
flyofto="",
fly=document.getElementById("fly");
function stfly() {
for(i=0;i != message.length;i++) {
if(message.charAt(i) != "$")
txt += "<span style='position:relative;visibility:hidden;' id='n"+i+"'>"+message.charAt(i)+"</span>";
else
txt += "<br>";
}
fly.innerHTML = txt;
txt = "";
flyofle = fly.offsetLeft;
flyofwi = fly.offsetWidth;
flyofto = fly.offsetTop;
fly2b();
}
function fly2b() {
if(num4 != message.length) {
if(message.charAt(num4) != "$") {
var then = document.getElementById("n" + num4);
then.style.left = flyofle - then.offsetLeft + flyofwi / 2;
then.style.top = flyofto - then.offsetTop + distance;
fly3(then.id, parseInt(then.style.left), parseInt(then.style.left) / 5, parseInt(then.style.top), parseInt(then.style.top) / 5);
}
num4++;
setTimeout("fly2b()", speed);
}
}
function fly3(target,lef2,num2,top2,num3) {
if((Math.floor(top2) != 0 && Math.floor(top2) != -1) || (Math.floor(lef2) != 0 && Math.floor(lef2) != -1)) {
if(lef2 >= 0)
lef2 -= num2;
else
lef2 += num2 * -1;
if(Math.floor(lef2) != -1) {
document.getElementById(target).style.visibility = "visible";
document.getElementById(target).style.left = Math.floor(lef2);
} else {
document.getElementById(target).style.visibility = "visible";
document.getElementById(target).style.left = Math.floor(lef2 + 1);
}
if(lef2 >= 0)
top2 -= num3
else
top2 += num3 * -1;
if(Math.floor(top2) != -1)
document.getElementById(target).style.top = Math.floor(top2);
else
document.getElementById(target).style.top = Math.floor(top2 + 1);
setTimeout("fly3('"+target+"',"+lef2+","+num2+","+top2+","+num3+")",50)
}
}
stfly()
</script>
tam istedigim deyil böyle ışıklı yani teşşekkürler ederim ama yani istedigim deyil |
|
↑
|
|
|
-
mertphotograph
Bedava-Sitem Bağımlısı
|
28.03.2010, 16:38 (UTC) Mesaj konusu: |
|
|
web-dersciniz yazmış: tam istedigim deyil böyle ışıklı yani teşşekkürler ederim ama yani istedigim deyil
Kod: <DIV id=texture style="WIDTH: 372px; HEIGHT: 18px"><IMG height=1 src="http://kr.img.blog.yahoo.com/ybi/1/63/8e/gene7299/folder/3/img_3_14_4?1115913833.gif" width=372 align=right><IMG height=18 src="http://kr.img.blog.yahoo.com/ybi/1/63/8e/gene7299/folder/3/img_3_14_9?1115913832.gif" width=360 align=right> <DIV style="FONT-SIZE: 12px; FILTER: Chroma(color=#FCFBFA); FLOAT: left; WIDTH: 372px; HEIGHT: 18px; BACKGROUND-COLOR: #000000" align=center><FONT color=#fcfbfa>Buraya Yazınızı Yazın</FONT></DIV></DIV> |
|
↑
|
|
|
|