คืนค่าการตั้งค่าทั้งหมด
คุณแน่ใจว่าต้องการคืนค่าการตั้งค่าทั้งหมด ?
ลำดับตอนที่ #2 : code ของ http://www.bloggang.com/mainblog.php?id=neeya
<STYLE type=text/css>#divBg {
Z-INDEX: 10; LEFT: 0px; WIDTH: 200px; CLIP: rect(0px 10px 10px 0px); POSITION: absolute; HEIGHT: 100px
}
#divMenu {
FONT-WEIGHT: bold; LEFT: 15px; POSITION: absolute; TOP: 6px
}
#divArrowLeft {
LEFT: 0px; WIDTH: 20px; POSITION: absolute; TOP: 9px; HEIGHT: 20px
}
#divArrowRight {
WIDTH: 20px; POSITION: absolute; TOP: 9px; HEIGHT: 20px
}
</STYLE>
<SCRIPT language=JavaScript type=text/javascript>
//Default browsercheck, added to all scripts!
function checkBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
bw=new checkBrowser()
/**************************************************************************
Variables to set.
***************************************************************************/
//Updated: Added left and top variables.
sLeft=0 //The left placement of the menu
sTop=70 //The top placement of the menu
//The height of the menu
sMenuheight=30
//Width of the arrows
sArrowwidth=16
//Scroll speed: (in milliseconds, change this one and the next variable to change the speed)
sScrollspeed=20
//Pixels to scroll per timeout.
sScrollPx=10
/**************************************************************************
Scrolling functions
***************************************************************************/
var tim=0
var noScroll=true
function mLeft(){
if(!noScroll && oMenu.x<sArrowwidth){
oMenu.moveBy(sScrollPx,0)
tim=setTimeout("mLeft()",sScrollspeed)
}
}
function mRight(){
if(!noScroll && oMenu.x>-(oMenu.scrollWidth-(pageWidth))-sArrowwidth){
oMenu.moveBy(-sScrollPx,0)
tim=setTimeout("mRight()",sScrollspeed)
}
}
function noMove(){clearTimeout(tim); noScroll=true}
/**************************************************************************
Object part
***************************************************************************/
function makeObj(obj,nest,menu){
nest=(!nest) ? '':'document.'+nest+'.'
this.css=bw.dom? document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+"document.layers." +obj):0;
this.evnt=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0;
this.scrollWidth=bw.ns4?this.css.document.width:this.evnt.offsetWidth
this.x=(bw.ns4 || bw.ns5)? this.css.left:this.css.pixelLeft;
this.y=(bw.ns4 || bw.ns5)? this.css.top:this.css.pixelTop;
this.moveBy=b_moveBy; this.moveIt=b_moveIt; this.showIt=b_showIt;this.clipTo=b_clipTo;
return this
}
function b_moveBy(x,y){this.x=this.x+x; this.y=this.y+y; this.css.left=this.x; this.css.top=this.y}
function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y}
function b_clipTo(t,r,b,l){
if(bw.ns4){this.css.clip.top=t; this.css.clip.right=r; this.css.clip.bottom=b; this.css.clip.left=l
}else this.css.clip="rect("+t+","+r+","+b+","+l+")";
}
function b_showIt(){this.css.visibility="visible"}
/**************************************************************************
Object part end
***************************************************************************/
/**************************************************************************
Init function. Set the placements of the objects here.
***************************************************************************/
function sideInit(){
//Width of the menu, Currently set to the width of the document.
//If you want the menu to be 500px wide for instance, just
//set the the pageWidth=500 in stead.
pageWidth=(bw.ns4 || bw.ns5)?innerWidth:document.body.offsetWidth-20;
oBg=new makeObj('divBg')
oMenu=new makeObj('divMenu','divBg',1)
oArrowRight=new makeObj('divArrowRight','divBg')
//Placement
oBg.moveIt(sLeft,sTop) //Main div, holds all the other divs.
oMenu.moveIt(sArrowwidth,6)
oArrowRight.moveIt(pageWidth-sArrowwidth,9)
//setting the width and the visible area of the links.
if(bw.dom || bw.ie4){ oBg.css.width=pageWidth; oBg.css.overflow="hidden" }
oBg.clipTo(0,pageWidth,sMenuheight,0)
}
//executing the init function on pageload.
onload=sideInit;
</SCRIPT>
<DIV id=divBg>
<DIV id=divMenu>
<TABLE>
<TBODY>
<TR>
<TD noWrap align="center">
<font face="MS Sans Serif" size="1">
[<A href="http://www.codetukyang.com/">ศูนย์รวม CODE ทุกอย่าง</A>]
[<A href="http://www.thaiwebcreator.com/">www.thaiwebcreator.com</A>]
[<A href="http://www.yahoo.com">Yahoo</A>]
[<A href="http://www.geocities.com">Geocities</A>]
[<A href="http://www.hotmail.com">Hotmail</A>]
[<A href="http://www.gazib.com">GAZIB.COM</A>]
[<A href="http://www.sanook.com">SANOOK.COM</A>]
[<A href="http://www.hunsa.com">HUNSA.COM</A>]
[<A href="http://www.sansuk.com">SANSUK.COM</A>]
[<A href="http://www.thairath.co.th">THAIRATH.COM</A>] </font>
</TD></TR></TBODY></TABLE></DIV>
<DIV id=divArrowLeft><A onmouseover="noScroll=false; mLeft()"
onmouseout=noMove() href="javascript://">
<IMG
src="../../images/menuarrowleft.gif" border=0 width="16" height="21"></A></DIV>
<DIV id=divArrowRight>
<p align="center"><A onmouseover="noScroll=false; mRight()"
onmouseout=noMove() href="javascript://">
<IMG
src="../../images/menuarrowright.gif"
border=0 width="16" height="21"></A></DIV></DIV>
<style type="text/css">
body {
background-image:url("http://www.yenta4.com/gallery/gallery/215/215_2607.jpg");
background-attachment:fixed;
background-repeat: no-repeat;}
</style>
<!-- Search Google -->
<center>
<FORM method=GET action="http://www.google.com/search"TARGET=_blank>
<input type=hidden name=ie value=tis-620>
<input type=hidden name=oe value=tis-620>
<A HREF="http://www.google.co.th/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0" ALT="Google" align="absmiddle">
<INPUT TYPE=text name=q size=25 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Google Search"></FORM></center>
<a href="http://easyhitcounters.com/stats.php?site=preneeya" target="_top"><img border="0" alt="Free Web Site Counter" src="http://beta.easyhitcounters.com/counter/index.php?u=preneeya&s=apple" ALIGN="middle" HSPACE="4" VSPACE="2"></a><script src=http://beta.easyhitcounters.com/counter/script.php?u=preneeya></script>
<br><a href="http://easyhitcounters.com/" target="_top"><font color="#666666"></font></a>
<EMBED src=http://i172.photobucket.com/albums/w2/nbee_flash/NB/NBee26.swf WIDTH=180 HEIGHT=180 wmode=transparent quality=high loop=true bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED><br>
<a href="http://www.zalim-code.com/clock.html" target="_blank"> </a>
<script language="JavaScript">
<!--
function getLongDateString()
{ //method defined on class Date.
//Returns a date string of the form: Day DD Month,YYYY
//(e.g. Sunday 27 September, 1998)
monthNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
dayNames = new Array("อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์");
dayOfWeek = this.getDay();
day = dayNames[dayOfWeek];
dateOfMonth = this.getDate();
monthNo = this.getMonth();
month = monthNames[monthNo];
year = this.getYear();
if (year < 2000)
year = year + 1900;
dateStr = day+" "+dateOfMonth+" "+month+", "+year;
return dateStr;
}
//register the method in the class Date
Date.prototype.getLongDateString=getLongDateString;
function DocDate()
{ //return the document modification date (excl.time)
//as a string
DateTimeStr = document.lastModified;
secOffset = Date.parse(DateTimeStr);
if (secOffset == 0 || secOffset == null) //Opera3.2
dateStr = "Unknown";
else
{
aDate = new Date();
aDate.setTime(secOffset);
//use method defined above
datestr = aDate.getLongDateString();
}
return dateStr;
}
;
document.writeln(DocDate(),"</center>");
// -->
</script>
<br></br>
<style>ul{list-style-image: url('<a href=http://www.freeimagehosting.net/><img src=http://www.freeimagehosting.net/uploads/78029d7da0.jpg border=0 alt="Free Image Hosting"></a>');}</style>
<script type="text/javascript" src="http://fastonlineusers.com/on4.php?d=http://www.bloggang.com/mainblog.php?id=neeya"></script>
online เยี่ยมชม blog
<br></br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var today = new Date();
var now = today.getDate();
var year = today.getYear();
if (year < 2000) year += 1900; // Y2K fix
var month = today.getMonth();
var monarr = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
// check for leap year
if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) monarr[1] = "29";
// display day left
+ " วัน ถึงจะหมดเดือนนี้");
// End --><br></br>
</script>
<br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function greeting() {
var today = new Date();
var hrs = today.getHours();
dayStr = today.toLocaleString();
;
document.writeln("</CENTER>");
}
function montharr(m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11)
{
this[0] = m0;
this[1] = m1;
this[2] = m2;
this[3] = m3;
this[4] = m4;
this[5] = m5;
this[6] = m6;
this[7] = m7;
this[8] = m8;
this[9] = m9;
this[10] = m10;
this[11] = m11;
}
function calendar()
{
var monthNames = "JanFebMarAprMayJunJulAugSepOctNovDec";
var today = new Date();
var thisDay;
var monthDays = new montharr(31, 28, 31, 30, 31, 30, 31, 31, 30,31, 30, 31);
year = today.getYear() + 0;
thisDay = today.getDate();
if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0))
monthDays[1] = 29;
nDays = monthDays[today.getMonth()];
firstDay = today;
firstDay.setDate(1);
testMe = firstDay.getDate();
if (testMe == 2)
firstDay.setDate(0);
startDay = firstDay.getDay();
document.writeln("<CENTER>");
;
;
* 3,
(today.getMonth() + 1) * 3));
;
;
;
;
column = 0;
for (i=0; i<startDay; i++) {
;
column++;
}
for (i=1; i<=nDays; i++) {
;
if (i == thisDay)
;
if (i == thisDay)
column++;
if (column == 7) {
;
column = 0;
}
}
;
document.writeln("</CENTER>");
}
greeting();
;
calendar();
;
// End -->
</SCRIPT>
<EMBED src=http://i110.photobucket.com/albums/n100/b810/clock/set15/58.swf WIDTH=120 HEIGHT=120 wmode=transparent quality=high loop=true bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
alert("ยินดีต้อนรับสู่ The Little Home แสนสุข")
// End -->
</script>
<style type="text/css" media="screen">
html {scrollbar-arrow-color: #8000ff;
scrollbar-face-color: #800060;
scrollbar-highlight-color: #804000;
scrollbar-3dlight-color: #a000a0;
scrollbar-shadow-color: #a060c0;
scrollbar-darkshadow-color: #800000;
scrollbar-track-color: #600080;}
</style>
<iframe src="http://www.arip.co.th/2006/rssreader.php" width=300 height=200 frameborder=0 marginheight=0 marginwidth=0 scrolling=auto></iframe>
<STYLE type=text/css>#divBg {
Z-INDEX: 10; LEFT: 0px; WIDTH: 200px; CLIP: rect(0px 10px 10px 0px); POSITION: absolute; HEIGHT: 100px
}
#divMenu {
FONT-WEIGHT: bold; LEFT: 15px; POSITION: absolute; TOP: 6px
}
#divArrowLeft {
LEFT: 0px; WIDTH: 20px; POSITION: absolute; TOP: 9px; HEIGHT: 20px
}
#divArrowRight {
WIDTH: 20px; POSITION: absolute; TOP: 9px; HEIGHT: 20px
}
</STYLE>
<SCRIPT language=JavaScript type=text/javascript>
//Default browsercheck, added to all scripts!
function checkBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
bw=new checkBrowser()
/**************************************************************************
Variables to set.
***************************************************************************/
//Updated: Added left and top variables.
sLeft=0 //The left placement of the menu
sTop=70 //The top placement of the menu
//The height of the menu
sMenuheight=30
//Width of the arrows
sArrowwidth=16
//Scroll speed: (in milliseconds, change this one and the next variable to change the speed)
sScrollspeed=20
//Pixels to scroll per timeout.
sScrollPx=10
/**************************************************************************
Scrolling functions
***************************************************************************/
var tim=0
var noScroll=true
function mLeft(){
if(!noScroll && oMenu.x<sArrowwidth){
oMenu.moveBy(sScrollPx,0)
tim=setTimeout("mLeft()",sScrollspeed)
}
}
function mRight(){
if(!noScroll && oMenu.x>-(oMenu.scrollWidth-(pageWidth))-sArrowwidth){
oMenu.moveBy(-sScrollPx,0)
tim=setTimeout("mRight()",sScrollspeed)
}
}
function noMove(){clearTimeout(tim); noScroll=true}
/**************************************************************************
Object part
***************************************************************************/
function makeObj(obj,nest,menu){
nest=(!nest) ? '':'document.'+nest+'.'
this.css=bw.dom? document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+"document.layers." +obj):0;
this.evnt=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0;
this.scrollWidth=bw.ns4?this.css.document.width:this.evnt.offsetWidth
this.x=(bw.ns4 || bw.ns5)? this.css.left:this.css.pixelLeft;
this.y=(bw.ns4 || bw.ns5)? this.css.top:this.css.pixelTop;
this.moveBy=b_moveBy; this.moveIt=b_moveIt; this.showIt=b_showIt;this.clipTo=b_clipTo;
return this
}
function b_moveBy(x,y){this.x=this.x+x; this.y=this.y+y; this.css.left=this.x; this.css.top=this.y}
function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y}
function b_clipTo(t,r,b,l){
if(bw.ns4){this.css.clip.top=t; this.css.clip.right=r; this.css.clip.bottom=b; this.css.clip.left=l
}else this.css.clip="rect("+t+","+r+","+b+","+l+")";
}
function b_showIt(){this.css.visibility="visible"}
/**************************************************************************
Object part end
***************************************************************************/
/**************************************************************************
Init function. Set the placements of the objects here.
***************************************************************************/
function sideInit(){
//Width of the menu, Currently set to the width of the document.
//If you want the menu to be 500px wide for instance, just
//set the the pageWidth=500 in stead.
pageWidth=(bw.ns4 || bw.ns5)?innerWidth:document.body.offsetWidth-20;
oBg=new makeObj('divBg')
oMenu=new makeObj('divMenu','divBg',1)
oArrowRight=new makeObj('divArrowRight','divBg')
//Placement
oBg.moveIt(sLeft,sTop) //Main div, holds all the other divs.
oMenu.moveIt(sArrowwidth,6)
oArrowRight.moveIt(pageWidth-sArrowwidth,9)
//setting the width and the visible area of the links.
if(bw.dom || bw.ie4){ oBg.css.width=pageWidth; oBg.css.overflow="hidden" }
oBg.clipTo(0,pageWidth,sMenuheight,0)
}
//executing the init function on pageload.
onload=sideInit;
</SCRIPT>
<DIV id=divBg>
<DIV id=divMenu>
<TABLE>
<TBODY>
<TR>
<TD noWrap align="center">
<font face="MS Sans Serif" size="1">
[<A href="http://www.geocities.com/namkiatv">ศูนย์รวม CODE ทุกอย่าง</A>]
[<A href="http://www.thaiwebcreator.com">www.thaiwebcreator.com</A>]
[<A href="http://www.yahoo.com">Yahoo</A>]
[<A href="http://www.geocities.com">Geocities</A>]
[<A href="http://www.hotmail.com">Hotmail</A>]
[<A href="http://www.sanook.com">SANOOK.COM</A>]
[<A href="http://www.hunsa.com">HUNSA.COM</A>]
[<A href="http://www.sansuk.com">SANSUK.COM</A>]
[<A href="http://www.thairath.co.th">THAIRATH.COM</A>]
</font>
<style>body{cursor:url("http://www.fileden.com/files/2008/5/8/1902954/y.ani");}</style>
"));
//-->
</script>
<!--- <!---start www.zalim-code.com -->
<script language="JavaScript" type="text/javascript">
<!-- fall Script Kurt Grigg - http://www.zalim-code.com -->
var isNetscape6=false;
if (navigator.appName == "Netscape" && parseFloat(navigator.appVersion) >= 5)
isNetscape6=true;
/*
This script has been disabled for
Netscape 6 due to ugly scrollbar
activety. Could probably be fixed
with a clipped container div but
can't be bothered.
*/
if (!isNetscape6){
num=5; //Smoothness depends on image file size, the smaller the size the more you can use!
stopafter=240; //seconds!
//Pre-load images!
pics=new Array("http://i11.photobucket.com/albums/a171/merrymod/flower01.gif",
"http://i11.photobucket.com/albums/a171/merrymod/flower02.gif",
"http://i11.photobucket.com/albums/a171/merrymod/flower03.gif",
"http://i11.photobucket.com/albums/a171/merrymod/flower04.gif",
"http://i11.photobucket.com/albums/a171/merrymod/flower05.gif");
load=new Array();
for(i=0; i < pics.length; i++){
load[i]=new Image();
load[i].src=pics[i];
}
stopafter*=1000;
timer=null;
y=new Array();
x=new Array();
s=new Array();
s1=new Array();
s2=new Array();
if (document.layers){
for (i=0; i < num; i++){
randomleaf = pics[Math.floor(Math.random()*pics.length)];
;
}
}
if (document.all){
;
for (i=0; i < num; i++){
randomleaf = pics[Math.floor(Math.random()*pics.length)];
;
}
;
}
if (!document.all&&!document.layers){
for (i=0; i < num; i++){
randomleaf = pics[Math.floor(Math.random()*pics.length)];
;
}
}
inih=(document.all)?window.document.body.clientHeight:window.innerHeight-100;
iniw=(document.all)?window.document.body.clientWidth:window.innerWidth-100;
for (i=0; i < num; i++){
y[i]=Math.round(Math.random()*inih);
x[i]=Math.round(Math.random()*iniw);
s[i]=Math.random()*5+3;
s1[i]=0;
s2[i]=Math.random()*0.1+0.05;
}
function fall(){
h=(document.all)?window.document.body.clientHeight:window.innerHeight;
w=(document.all)?window.document.body.clientWidth:window.innerWidth;
scy=(document.all)?document.body.scrollTop:window.pageYOffset;
scx=(document.all)?document.body.scrollLeft:window.pageXOffset;
for (i=0; i < num; i++){
sy=s[i]*Math.sin(90*Math.PI/180);
sx=s[i]*Math.cos(s1[i]);
y[i]+=sy;
x[i]+=sx;
if (y[i] > h){
y[i]=-60;
x[i]=Math.round(Math.random()*w);
s[i]=Math.random()*5+3;
}
s1[i]+=s2[i];
if (document.layers){
document.layers["leaf"+i].left=x[i];
document.layers["leaf"+i].top=y[i]+scy;
}
else{
document.getElementById("leaf"+i).style.left=x[i];
document.getElementById("leaf"+i).style.top=y[i]+scy;
}
}
timer=setTimeout('fall()',80);
}
fall();
function dsbl(){
for (i=0; i < num; i++){
if (document.layers)
document.layers["leaf"+i].visibility="hide";
else
document.getElementById("leaf"+i).style.visibility="hidden";
}
clearTimeout(timer);
}
setTimeout('dsbl()',stopafter);
}
//-->
<a href="http://widget.sanook.com/view-widget/graphic/?widget=482235" target="_blank"><img border="0" src="http://widget.sanook.com/static_content/full/diy_1/2235/482235/3dced97f0ea8eef0d4ad74254329f11e_1250690655.gif" alt="คลิกที่รูป เพื่อเอาโค้ดรูปนี้ไปแปะ" ></a><br><br><a href="http://widget.sanook.com/">[ของตกแต่งโดนๆคลิกเลย]</a>
<EMBED SRC="http://www.youtube.com/watch?v=2gQBLC7el5o" HIDDEN="true" AUTOSTART="true"LOOP="5" MASTERSOUND></EMBED>
ความคิดเห็น