ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: ช่วยบอกวิธีทำ TITLE เลื่อนที  (อ่าน 1655 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
beerqazasa
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 121
ออฟไลน์ ออฟไลน์

กระทู้: 1,575



ดูรายละเอียด เว็บไซต์
« เมื่อ: 09 มีนาคม 2012, 08:36:28 »

แบบขยับไปทางขวาเล๋ยๆ  Embarrassed
บันทึกการเข้า
beerqazasa
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 121
ออฟไลน์ ออฟไลน์

กระทู้: 1,575



ดูรายละเอียด เว็บไซต์
« ตอบ #1 เมื่อ: 10 มีนาคม 2012, 08:51:02 »

ดันๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆ  wanwan017
บันทึกการเข้า
tkcomsci
ก๊วนเสียว
*

พลังน้ำใจ: 16
ออฟไลน์ ออฟไลน์

กระทู้: 257



ดูรายละเอียด เว็บไซต์
« ตอบ #2 เมื่อ: 10 มีนาคม 2012, 09:40:17 »

อ้างถึง
<script language="JavaScript1.2">
var message="พิมพ์ที่นี่ครับผม" //specifys the title
var message=message " " //gives a pause at the end,1 space=1 speed unit, here I used 10 spaces@150 each = 1.5seconds.
i="0" //declares the variable and sets it to start at 0
var temptitle="" //declares the variable and sets it to have no value yet.
var speed="150" //the delay in milliseconds between letters

function titler(){
if (!document.all&&!document.getElementById)
return
document.title=temptitle message.charAt(i) //sets the initial title
temptitle=temptitle message.charAt(i) //increases the title by one letter
i   //increments the counter
if(i==message.length) //determines the end of the message
{
i="0" //resets the counter at the end of the message
temptitle="" //resets the title to a blank value
}
setTimeout("titler()",speed) //Restarts. Remove line for no-repeat.
}

window.onload=titler
</script>

ลองอันนี้เลย
บันทึกการเข้า

แบตสำรองของแท้ราคาถูก สนใจ PM มีระบบ ประมูล ขาย ทดลองก่อนซื้อ  สคริปมากมายสอบถามได้ ประกาศขายของฟรี
ElosEiam
คนรักเสียว
*

พลังน้ำใจ: 50
ออฟไลน์ ออฟไลน์

กระทู้: 114



ดูรายละเอียด เว็บไซต์
« ตอบ #3 เมื่อ: 10 มีนาคม 2012, 09:41:20 »

อ้างถึง
<script language="JavaScript1.2">
var message="พิมพ์ที่นี่ครับผม" //specifys the title
var message=message " " //gives a pause at the end,1 space=1 speed unit, here I used 10 spaces@150 each = 1.5seconds.
i="0" //declares the variable and sets it to start at 0
var temptitle="" //declares the variable and sets it to have no value yet.
var speed="150" //the delay in milliseconds between letters

function titler(){
if (!document.all&&!document.getElementById)
return
document.title=temptitle message.charAt(i) //sets the initial title
temptitle=temptitle message.charAt(i) //increases the title by one letter
i   //increments the counter
if(i==message.length) //determines the end of the message
{
i="0" //resets the counter at the end of the message
temptitle="" //resets the title to a blank value
}
setTimeout("titler()",speed) //Restarts. Remove line for no-repeat.
}

window.onload=titler
</script>
บันทึกการเข้า

beerqazasa
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 121
ออฟไลน์ ออฟไลน์

กระทู้: 1,575



ดูรายละเอียด เว็บไซต์
« ตอบ #4 เมื่อ: 11 มีนาคม 2012, 08:16:25 »

 wanwan017 wanwan017 wanwan017 wanwan017 wanwan017 wanwan017
ขอบคุณมากกกกกกกกกกกกกกกกกกกกกกกกกกกกครับผม ^^  Cry Cry
บันทึกการเข้า
หน้า: [1]   ขึ้นบน
พิมพ์