โค้ดพื้นฐาน (10)
โค้ดเปลี่ยนรูป - Rss Feed
< script>iLength = document.images.length; for(i=0;i<iLength;i++) if(document.images[i].src=="//www.bloggang.com/images/icon_rss.png") {document.images[i].src="ใส่URL ของรูปที่ต้องการ"}</script>
|
โค้ดเปลี่ยนรูป - My FriendFlock
<script>iLength = document.images.length; for(i=0;i<iLength;i++) if(document.images[i].src=="//www.bloggang.com/images/icon_network_mini1.gif") {document.images[i].src="ใส่URL ของรูปที่ต้องการ"}</script>
|
โค้ดเปลี่ยนรูป - ฝากข้อความหลังไมค์
<script>iLength = document.images.length; for(i=0;i<iLength;i++) if(document.images[i].src=="//www.bloggang.com/images/message.gif") {document.images[i].src="ใส่URL ของรูปที่ต้องการ"}</script>
|
โค้ดเปลี่ยนรูปถังขยะ
<script>iLength = document.images.length; for(i=0;i<iLength;i++) if(document.images[i].src=="//www.bloggang.com/images/delete.gif") {document.images[i].src="ใส่URL ของรูปที่ต้องการ";document.images[i].height="ความสูงของรูป"; document.images[i].width="ความยาวของรูป";}</script>
|
โค้ดเปลี่ยนรูปกระดาษ ปากกา
<script>iLength = document.images.length; for(i=0;i<iLength;i++) if(document.images[i].src=="//www.bloggang.com/images/iconnote.gif") {document.images[i].src="ใส่URL ของรูปที่ต้องการ";document.images[i].height="ความสูงของรูป"; document.images[i].width="ความยาวของรูป";}</script>
|
โค้ดป้องกันการยืดของหน้าบล็อค
<style> div.comment{overflow: auto; width: 380px; height: auto;}</style>
|
โค้ดใส่รูปทำ Background ให้กล่อง Emotion
<style>fieldset{background-image: url(ใส่URL ของรูปที่ต้องการ);}</style>
|
โค้ดใส่สีทำ Background ให้กล่อง Emotion
<style>fieldset{background: ใส่โค้ดสีที่ต้องการ;}</style>
|
Create Date : 03 สิงหาคม 2552 |
Last Update : 3 สิงหาคม 2552 11:31:36 น. |
|
0 comments
|
Counter : 357 Pageviews. |
|
|
|
|
|
|
|
|
|
| 1 |
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | |
|
|
|
|
|
|
|
|
|
|
|
| | |