Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj24.04.2009, 15:55 (UTC)    
Mesaj konusu: Büyüyüp Küçülen Yazı Kodu Kaçırmayın....

<script language="Javascript1.2">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var tags_before_clock = "<center>";
var tags_after_clock = "</center>";

var speed = 100;
var speed2 = 2000;
var biggest_text = 28;

var x = 0;
var y = 0;
var themessage, size;
var esize = "</font>";

function initArray() {

this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}

var themessage2 = new initArray(
"This is the Growing Banner.",
"It looks a lot cooler than other banners.",
"This is really easy to conform to your page.",
"Just don't make it too long or else..."
);

if(navigator.appName == "Netscape") {
document.write('<layer id="wds"></layer><br>');
}

if (navigator.appVersion.indexOf("MSIE") != -1){
document.write('<span id="wds"></span><br>');
}

function upwords(){

themessage = themessage2[y];

if (x < biggest_text) {
x++;
setTimeout("upwords()",speed);
}

else {
setTimeout("downwords()",speed2);
}

if(navigator.appName == "Netscape") {
size = "<font point-size='"+x+"pt'>";
document.wds.document.write(size+tags_before_clock+themessage
+tags_after_clock+esize);
document.wds.document.close();
}

if (navigator.appVersion.indexOf("MSIE") != -1){
wds.innerHTML = tags_before_clock+themessage+tags_after_clock;
wds.style.fontSize=x+'px'
}
}

function downwords(){

if (x > 1) {
x--;
setTimeout("downwords()",speed);
}

else {
setTimeout("upwords()",speed2);
y++;
if (y > themessage2.length - 1) y = 0;
}

if(navigator.appName == "Netscape") {
size = "<font point-size='"+x+"pt'>";
document.wds.document.write(size+tags_before_clock+themessage
+tags_after_clock+esize);
document.wds.document.close();
}

if (navigator.appVersion.indexOf("MSIE") != -1){
wds.innerHTML = tags_before_clock+themessage+tags_after_clock;
wds.style.fontSize=x+'px'
}
}

setTimeout("upwords()",speed);
//-->
</script>
Mesaj24.04.2009, 16:31 (UTC)    
Mesaj konusu:

Kodlarınızı code kutucuğuna alınız
Mesaj24.04.2009, 17:48 (UTC)    
Mesaj konusu:

Kod:
<script language="Javascript1.2">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var tags_before_clock = "<center>";
var tags_after_clock = "</center>";

var speed = 100;
var speed2 = 2000;
var biggest_text = 28;

var x = 0;
var y = 0;
var themessage, size;
var esize = "</font>";

function initArray() {

this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}

var themessage2 = new initArray(
"This is the Growing Banner.",
"It looks a lot cooler than other banners.",
"This is really easy to conform to your page.",
"Just don't make it too long or else..."
);

if(navigator.appName == "Netscape") {
document.write('<layer id="wds"></layer><br>');
}

if (navigator.appVersion.indexOf("MSIE") != -1){
document.write('<span id="wds"></span><br>');
}

function upwords(){

themessage = themessage2[y];

if (x < biggest_text) {
x++;
setTimeout("upwords()",speed);
}

else {
setTimeout("downwords()",speed2);
}

if(navigator.appName == "Netscape") {
size = "<font point-size='"+x+"pt'>";
document.wds.document.write(size+tags_before_clock+themessage
+tags_after_clock+esize);
document.wds.document.close();
}

if (navigator.appVersion.indexOf("MSIE") != -1){
wds.innerHTML = tags_before_clock+themessage+tags_after_clock;
wds.style.fontSize=x+'px'
}
}

function downwords(){

if (x > 1) {
x--;
setTimeout("downwords()",speed);
}

else {
setTimeout("upwords()",speed2);
y++;
if (y > themessage2.length - 1) y = 0;
}

if(navigator.appName == "Netscape") {
size = "<font point-size='"+x+"pt'>";
document.wds.document.write(size+tags_before_clock+themessage
+tags_after_clock+esize);
document.wds.document.close();
}

if (navigator.appVersion.indexOf("MSIE") != -1){
wds.innerHTML = tags_before_clock+themessage+tags_after_clock;
wds.style.fontSize=x+'px'
}
}

setTimeout("upwords()",speed);
//-->
</script>


bu şekilde verirsen güzel olur..
bu arada paylaşım güzel..
______________
Mesaj27.04.2009, 13:47 (UTC)    
Mesaj konusu:

1-) Burası HTML kod paylaşım yeri JAVA SCRİPT değil.
'-) kodlar Sabit başlık altında toplanmalı !
Mesaj28.04.2009, 09:23 (UTC)    
Mesaj konusu: ss

TEŞEKKÜR Ederim Code Koymayı Unutmuşum Laughing Mr. Green
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu