|
|
[ กลับหน้าหลัก ]
เวบมาสเตอร์คับ ผม อยากได้ สีฟ้าคับ
1
Insect
|
โดย : ่ [ 11/11/2007, 09:17:15 ] |
3
ขอบคุณที่เเนะนำคับ |
โดย : Insect [ 17/11/2007, 00:48:03 ] |
4
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var text = "ขอลองเล่นดูมั่ง ^_^"; // The text to scroll
color1 = "SlateGray"; // original text color
color2 = "deeppink"; // new character color
fontsize = "1"; // font size of text
speed = 200; // how fast to rotate to next character
// time is in milliseconds, (i.e. 1000 = 1 second)
i = 0;
if (navigator.appName == "Netscape") {
document.write("<layer id=a
visibility=show></layer><br><br><br>");
}
else {
document.write("<div id=a></div>");
}
function changeCharColor() {
if (navigator.appName == "Netscape") {
document.a.document.write("<font color=" + color1 + ">");
for (var j = 0; j < text.length; j++) {
if(j == i) {
document.a.document.write("<font color=" + color2 + ">" + text.charAt(i)
+
"</font>");
}
else {
document.a.document.write(text.charAt(j));
}
}
document.a.document.write('</font></font>');
document.a.document.close();
}
if (navigator.appName == "Microsoft Internet Explorer") {
str = "<font color=" + color1 + ">";
for (var j = 0; j < text.length; j++) {
if( j == i) {
str += "<font color=" + color2 + ">" + text.charAt(i) +
"</font>";
}
else {
str += text.charAt(j);
}
}
str += "</font></font>";
a.innerHTML = str;
}
(i == text.length) ? i=0 : i++; // reset after going through all letters
}
setInterval("changeCharColor()", speed);
// End -->
</script>
|
โดย : +แมวลัลล้า [ 22/11/2007, 21:20:57 ] |
5
emoticon(<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var text = "ขอลองเล่นดูมั่ง ^_^"; // The text to scroll
color1 = "SlateGray"; // original text color
color2 = "deeppink"; // new character color
fontsize = "1"; // font size of text
speed = 200; // how fast to rotate to next character
// time is in milliseconds, (i.e. 1000 = 1 second)
i = 0;
if (navigator.appName == "Netscape") {
document.write("<layer id=a
visibility=show></layer><br><br><br>");
}
else {
document.write("<div id=a></div>");
}
function changeCharColor() {
if (navigator.appName == "Netscape") {
document.a.document.write("<font color=" + color1 + ">");
for (var j = 0; j < text.length; j++) {
if(j == i) {
document.a.document.write("<font color=" + color2 + ">" + text.charAt(i)
+
"</font>");
}
else {
document.a.document.write(text.charAt(j));
}
}
document.a.document.write('</font></font>');
document.a.document.close();
}
if (navigator.appName == "Microsoft Internet Explorer") {
str = "<font color=" + color1 + ">";
for (var j = 0; j < text.length; j++) {
if( j == i) {
str += "<font color=" + color2 + ">" + text.charAt(i) +
"</font>";
}
else {
str += text.charAt(j);
}
}
str += "</font></font>";
a.innerHTML = str;
}
(i == text.length) ? i=0 : i++; // reset after going through all letters
}
setInterval("changeCharColor()", speed);
// End -->
</script>
) |
โดย : ห้อยทรท [ 23/11/2007, 10:32:36 ] |
6
"<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var text = "ขอลองเล่นดูมั่ง ^_^"; // The text to scroll
color1 = "SlateGray"; // original text color
color2 = "deeppink"; // new character color
fontsize = "1"; // font size of text
speed = 200; // how fast to rotate to next character
// time is in milliseconds, (i.e. 1000 = 1 second)
i = 0;
if (navigator.appName == "Netscape") {
document.write("<layer id=a
visibility=show></layer><br><br><br>");
}
else {
document.write("<div id=a></div>");
}
function changeCharColor() {
if (navigator.appName == "Netscape") {
document.a.document.write("<font color=" + color1 + ">");
for (var j = 0; j < text.length; j++) {
if(j == i) {
document.a.document.write("<font color=" + color2 + ">" + text.charAt(i)
+
"</font>");
}
else {
document.a.document.write(text.charAt(j));
}
}
document.a.document.write('</font></font>');
document.a.document.close();
}
if (navigator.appName == "Microsoft Internet Explorer") {
str = "<font color=" + color1 + ">";
for (var j = 0; j < text.length; j++) {
if( j == i) {
str += "<font color=" + color2 + ">" + text.charAt(i) +
"</font>";
}
else {
str += text.charAt(j);
}
}
str += "</font></font>";
a.innerHTML = str;
}
(i == text.length) ? i=0 : i++; // reset after going through all letters
}
setInterval("changeCharColor()", speed);
// End -->
</script>" |
โดย : ห้อยทรท [ 23/11/2007, 10:33:59 ] |
|
|
|
E-mail: webmaster@thaibg.com |
Copyright 2002-2024@www.ThaiBG.com (Thailand), All Rights Reserved |
|
|
|
|