รวม code จากเพื่อนๆ ในนี้ค่ะ
copy มาจากเพื่อนๆ เก็บไว้ใช้เอง จะได้หาง่ายหน่อย ขอบคุณเพื่อนๆ ทุกคนนะคะ เอาเครื่องหมาย*ออกด้วยน้า
ใส่ bg เป็นรูปภาพเดียวทั้งหน้า (ใส่ใน script จะแสดงผลทุกบล็อก ใส่ที่ช่องรายละเอียดจะแสดงเฉพาะที่บล็อกนั้น) โค้ด= <*style>Body{background-image:url("http:XXX");background-position: center (bottom left..etc..);background-repeat: no-repeat;background-attachment: fixed;background-color:color code;}<*/style> //www.pantip.com/cafe/richtext/
ใส่ bg โดยใช้สี โค้ด= <*style>body{background:color code}><*/style>
ใส่ bg แบบ tile (ใส่ใน script จะแสดงผลทุกบล็อก ใส่ที่ช่องรายละเอียดจะแสดงเฉพาะที่บล็อกนั้น) โค้ด= <*style>body{background-image:url(XXX);}<*/style>
บีจีจากภาพเล็กๆหลายภาพเรียงกัน <*style>body{background-attachment: fixed;background-image:url(ใส่ URLของภาพที่จะใช้);}<*/style>
ใส่แบบ Fix ไม่ให้เลื่อนตาม Scroll bar (ใส่ใน script จะแสดงผลทุกบล็อก ใส่ที่ช่องรายละเอียดจะแสดงเฉพาะที่บล็อกนั้น) โค้ด= <*style>body{background-attachment: fixed;background-image:url("XXX");}<*/style>
ลบกรอบและสีขอบของบล็อก (ใส่ในscript จะแสดงทุกหน้า ใส่ใน table จะแสดงแค่table นั้น) โค้ด= <*style>table {background-color: transparent;border-style: none;border-spacing: none;}TD {border: none;border-color: none;background: none;}<*/style>
ทำกรอบรอบๆบล็อก <*script language="JavaScript1.2"> if (document.all) document.body.style.cssText="border:10 ridge โค้ดสี"<*/script>
ลูกเล่นเมื่อเปลี่ยน Webpage (ใส่ที่ช่องsloganหรือScript) โค้ด= <*="Page-Enter" content="RevealTrans (Duration=3, Transition=23)"> <*="Page-Exit" content="RevealTrans (Duration=2, Transition=23)">
ส่งหลังไมค์ <*a href ="URL หลังไมค์" target='_blank'> ส่งหลังไมค์ที่นี่<*/a>
โค้ดหลังไมค์ มีคำว่าส่งข้อความถึง......แล้วมีรูปต่อข้างล่าง <*B>ส่งข้อความถึง......... <*/B> <*br> <*a href ='//www.pantip.com/cafe/krazip/write.php?nick_name=crumpler'border=0 target='_blank'><*img src = '//urlของรูป' border=0 Alt='หลังไมค์'><*/a>
ลบกรอบใน Profile <*style>img {border: none;}<*/style>
เปลี่ยนสี scroll bar ใสในscript จะแสดงทุกหน้า ใส่ใน table จะแสดงแค่table นั้น) โค้ด= <*style type="text/css">body {scrollbar-arrow-color: ใส่โค้ดสี;scrollbar-highlight-color:ใส่โค้ดสี; scrollbar-base-color:ใส่โค้ดสี;scrollbar-dark-shadow-color: ใส่โค้ดสี;scrollbar-track-color:ใส่โค้ดสี;}<*/style>
ทำ Link เปิดหน้าใหม่ <*a href =URL Link target=_blank>ข้อความที่ต้องการ<*/a>
ทำ Link <*a href ="URL Link">ข้อความที่ต้องการ<*/a>
ทำ Linkด้วยรูป <*a href ='ใส่ //ของหน้าเว็บที่ต้องการลิงค์' target='_blank'><*img src =ใส่ urlของรูปที่เอามาทำลิงค์><*/a>
โค้ดเช็คข้อความหลังไมค์ <*a href ="//www.pantip.com/cafe/krazip/index.php" target=_blank>เชคข้อความหลังไมค์<*/a> หรือใส่รูป <*a href="//www.pantip.com/cafe/krazip/index.php" target=_blank><*img src="URL ของรูปที่ต้องการ" border="0"><*/a>
โค้ดป้องกันการยืดของหน้าบล็อก เวลาคนอื่นใส่รูปใหญ่เกินไป <*style>div.comment{overflow: auto; width: 400px; height: auto;}<*/style> width: 400px ----- เปลี่ยนขนาดได้
ใส่เพลง Real Player ram, rm แก้ตรง true หรือ false และ URL เพลง ด้วยนะคะ <*OBJECT ID=video1 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=70 WIDTH=300>
|
|
| |
|
|
ขอใช้ code ด้วยนะคะ
แบบมือใหม่หัดทำค่ะ