Tuesday, April 8, 2008

Code diary blog : 1

:"Code ID ใส":
<STYLE> table {background:none;}td {background:none;}</STYLE>

:"CodE ใส่รูปใน QM":





CodE::ข้อความตามเมาส์






CodE::ข้อความบอกลา-ต้อนรับ




ต้อนรับ >>

<script language="JavaScript">
function loadalert ()
{alert(" ข้อความตรงนี้ค่ะ")
}
loadalert()
</script>


บอกลา>>


<Script Language="VBScript">
Sub Window_onUnLoad()
alert("ข้อความตรงนี้ค่ะ")
End Sub
</Script>


:CodE::ข้อความร่วง



CodE::ข้อความวิ่ง <วิ่งจาก ล่าง -> up on top>




Welcome
to
my
Style Blog and Diary-..-

: CodE::แบนเนอร์เลื่อน




โค๊ดแบนเนอร์คือ

<a href="urlเวบที่เราจะลิ้งค์ไป"><img alt="ข้อความตอนที่เม้าส์ชี้" src="urlรูปที่จะใช้เป็นแบนเนอร์" border=0></a>

วิธีใส่

วิธีโค๊ดลิงค์แบนเนอร์


ตัวอย่างเช่น


<marquee direction=up height=150 onMouseOut=this.start() onMouseOver=this.stop() scrollamount=1 scrolldelay=20 width=100% truespeed=true ;color:#FF0000">
<center>
<a href="http://www.animeiai.com" target="_blank"><img alt="Cosplay manga anime series" src="http://i51.photobucket.com/albums/f398/dusadee/bnstore.gif" border="0" /></a> <p>

<a href="http://www.cortestravel.com" target="_blank"><img height="75" alt="Cortes travel around the world" src="http://i51.photobucket.com/albums/f398/dusadee/tbanner.gif" width="250" border="0" /></a> <p>

</center> </marquee>


จะได้

Cosplay manga anime series

Cortes travel around the world




ถ้าต้องการเพิ่มให้ใส่โค๊ดลิงค์แบนเนอร์ตามด้วย<p>ค่ะ

ถ้าไม่มากถึง 4 อันให้ลบออกไปตามจำนวนที่ต้องการค่ะ

: CodE >> ขอบเว็บแบบมีมิติ



<script language="JavaScript1.2">
if (document.all)
document.body.style.cssText="border:12 inset #โค้ดสี"
</script>


: CodE >> ขอบเว็บแบบไม่มีมิติ



<script language="JavaScript1.2">
if (document.all)
document.body.style.cssText="border:12 dashed #โค้ดสี"
</script>


CodE >> ห้ามเซฟรูป


<script language="JavaScript1.2">

var clickmessage="ใส่ข้อความคร่า(เวลาคลิ๊กขวา)"

function disableclick(e) {
if (document.all) {
if (event.button==2event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}

function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}

if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script>

0 ความคิดเห็น:

 
(◕‿◕✿) Style Blog and Diary(◕‿◕✿) © 2008 Template by Exotic Mommie Illustration by Dapina