ตัวอย่างการแทรก TheCounter.com Code
ตัวอักษรสีน้ำเงินคือ Code
<html>
<head>
<title>การแทรก Code</title>
</head>
<body>
<!-- Start of TheCounter.com Code
-->
<SCRIPT><!--
s="na";c="na";j="na";f=""+escape(document.referrer)
//--></SCRIPT>
<SCRIPT language="javascript1.2"><!--
s=screen.width;v=navigator.appName
if (v != "Netscape") {c=screen.colorDepth}
else {c=screen.pixelDepth}
j=navigator.javaEnabled()
//--></SCRIPT>
<SCRIPT><!--
function pr(n) {document.write(n,"\n");}
NS2Ch=0
if (navigator.appName == "Netscape" &&
navigator.appVersion.charAt(0) == "2") {NS2Ch=1}
if (NS2Ch == 0) {
r="&size="+s+"&colors="+c+"&referer="+f+"&java="+j+""
pr("<A HREF=\"http://www.TheCounter.com\"
TARGET=\"_top\"><IMG")
pr("BORDER=0 SRC=\"http://c1.thecounter.com/id=00000"+r+"\"></A>")}
//--></SCRIPT>
<NOSCRIPT><A HREF="http://www.TheCounter.com"
TARGET="_top"><IMG
SRC="http://c1.thecounter.com/id=00000" BORDER=0></A>
</NOSCRIPT>
<!-- End of TheCounter.com Code -->
</body>
</html>
หมายเหตุ. ให้ท่านดูตัวเลข
00000 ใน Code ซึ่งก็คือ ID
ของท่านนั่นเอง โดยที่หมาย
เลขของแต่ละท่านก็จะแตกต่างกันออกไป
และที่สำคัญไปกว่านั้น
ผมอยากให้ท่านลอง
ศึกษาการเขียน Code ด้วย
เพื่อที่จะได้ประยุกต์ใช้ในโอกาสต่อไปครับ |