ยินดีต้อนรับนะค้ะ สูบของไปใช้เม้นต์ให้ด้วยน้ะ ! ขอบคุณเน้อ ^^
•โค๊ด+ของแต่งบล็อก••สมุดเยี่ยมชม-Guestbook••โค๊ดสีสวยๆ••เว็บฝากรูปสุดฮิต•
ขอบคุณ "คุณ lozocat" มากค่ะ สำหรับธีมสีฟ้าน่ารักๆ ธีมนี้
เป็นคนที่ทำโค๊ดเก่งมากๆ เลย ยอมรับเลยง่ะ ^^

♦ • โค๊ดรูปต่างๆ ตามเมาส์ • ♦

โค๊ดใส่รูปภาพวิ่งตามเมาส์ค่ะ น่ารักมากมาย ลองนำไปใช้กันดูค่ะ


โค๊ด


<div id="dot0" style="position: absolute; visibility: hidden; height: 11; width: 11;"><img src="ที่อยู่รูป" height=11 width=11></div>
<div id="dot1" style="position: absolute; height: 44; width: 30;"><img src="
//ที่อยู่รูป" height=44 width=30></div>
<div id="dot2" style="position: absolute; height: 23; width: 23;"><img src="
//ที่อยู่รูป" height=23 width=23></div>
<div id="dot3" style="position: absolute; height: 23; width: 23;"><img src="
//ที่อยู่รูป" height=23 width=23></div>
<div id="dot4" style="position: absolute; height: 16; width: 16;"><img src="
//ที่อยู่รูป" height=16 width=16></div>
<div id="dot5" style="position: absolute; height: 16; width: 16;"><img src="
//ที่อยู่รูป" height=16 width=16></div>
<div id="dot6" style="position: absolute; height: 10; width: 10;"><img src="
//ที่อยู่รูป" height=10 width=10></div>


<script LANGUAGE="JavaScript">
<!-- hide code


/*
Elastic Trail script (By Philip Winston @
pwinston@yahoo.com, URL://members.xoom.com/ebullets)
Script featured on Dynamicdrive.com
For this and 100's more Dhtm scripts, visit
//dynamicdrive.com
*/



// Thanks to Troels Jakobsen <tjak@get2net.dk>
// for fix which makes it work when the page is scrolled


var nDots = 7;
if (document.all&&window.print)
document.body.style.cssText="overflow-x:hidden;overflow-y:scroll"
var Xpos = 0;
var Ypos = 0;


  // fixed time step, no relation to real time
var DELTAT = .01;
  // size of one spring in pixels
var SEGLEN = 10;
  // spring constant, stiffness of springs
var SPRINGK = 10;
  // all the physics is bogus, just picked stuff to
  // make it look okay
var MASS = 1;
var GRAVITY = 50;
var RESISTANCE = 10;
  // stopping criterea to prevent endless jittering
  // doesn't work when sitting on bottom since floor
  // doesn't push back so acceleration always as big
  // as gravity
var STOPVEL = 0.1;
var STOPACC = 0.1;
var DOTSIZE = 11;
  // BOUNCE is percent of velocity retained when
  // bouncing off a wall
var BOUNCE = 0.75;


var isNetscape = navigator.appName=="Netscape";


  // always on for now, could be played with to
  // let dots fall to botton, get thrown, etc.
var followmouse = true;


var dots = new Array();
init();


function init()
{
    var i = 0;
    for (i = 0; i < nDots; i++) {
        dots[i] = new dot(i);
    }


    if (!isNetscape) {
        // I only know how to read the locations of the
        // <LI> items in IE
        //skip this for now
        // setInitPositions(dots)
    }


    // set their positions
    for (i = 0; i < nDots; i++) {
        dots[i].obj.left = dots[i].X;
        dots[i].obj.top = dots[i].Y;
    }



    if (isNetscape) {
        // start right away since they are positioned
        // at 0, 0
        startanimate();
    } else {
        // let dots sit there for a few seconds
        // since they're hiding on the real bullets
        setTimeout("startanimate()", 2000);
    }
}



function dot(i)
{
    this.X = Xpos;
    this.Y = Ypos;
    this.dx = 0;
    this.dy = 0;
    if (isNetscape) {
        this.obj = eval("document.dot" + i);
    } else {
        this.obj = eval("dot" + i + ".style");
    }
}



function startanimate() {
    setInterval("animate()", 20);
}



// This is to line up the bullets with actual LI tags on the page
// Had to add -DOTSIZE to X and 2*DOTSIZE to Y for IE 5, not sure why
// Still doesn't work great
function setInitPositions(dots)
{
    // initialize dot positions to be on top
    // of the bullets in the <ul>
    var startloc = document.all.tags("LI");
    var i = 0;
    for (i = 0; i < startloc.length && i < (nDots - 1); i++) {
        dots[i+1].X = startloc[i].offsetLeft
            startloc[i].offsetParent.offsetLeft - DOTSIZE;
        dots[i+1].Y = startloc[i].offsetTop +
            startloc[i].offsetParent.offsetTop + 2*DOTSIZE;
    }
    // put 0th dot above 1st (it is hidden)
    dots[0].X = dots[1].X;
    dots[0].Y = dots[1].Y - SEGLEN;
}


// just save mouse position for animate() to use
function MoveHandler(e)
{
    Xpos = e.pageX;
    Ypos = e.pageY;
    return true;
}


// just save mouse position for animate() to use
function MoveHandlerIE() {
    Xpos = window.event.x + document.body.scrollLeft;
    Ypos = window.event.y + document.body.scrollTop;
}


if (isNetscape) {
    document.captureEvents(Event.MOUSEMOVE);
    document.onMouseMove = MoveHandler;
} else {
    document.onmousemove = MoveHandlerIE;
}



function vec(X, Y)
{
    this.X = X;
    this.Y = Y;
}


// adds force in X and Y to spring for dot[i] on dot[j]
function springForce(i, j, spring)
{
    var dx = (dots[i].X - dots[j].X);
    var dy = (dots[i].Y - dots[j].Y);
    var len = Math.sqrt(dx*dx + dy*dy);
    if (len > SEGLEN) {
        var springF = SPRINGK * (len - SEGLEN);
        spring.X += (dx / len) * springF;
        spring.Y += (dy / len) * springF;
    }
}



function animate() {
    // dots[0] follows the mouse,
    // though no dot is drawn there
    var start = 0;
    if (followmouse) {
        dots[0].X = Xpos;
        dots[0].Y = Ypos;
        start = 1;
    }


    for (i = start ; i < nDots; i++ ) {


        var spring = new vec(0, 0);
        if (i > 0) {
            springForce(i-1, i, spring);
        }
        if (i < (nDots - 1)) {
            springForce(i+1, i, spring);
        }


        // air resisitance/friction
        var resist = new vec(-dots[i].dx * RESISTANCE,
            -dots[i].dy * RESISTANCE);


        // compute new accel, including gravity
        var accel = new vec((spring.X + resist.X)/ MASS,
            (spring.Y + resist.Y)/ MASS + GRAVITY);


        // compute new velocity
        dots[i].dx += (DELTAT * accel.X);
        dots[i].dy += (DELTAT * accel.Y);


        // stop dead so it doesn't jitter when nearly still
        if (Math.abs(dots[i].dx) < STOPVEL &&
            Math.abs(dots[i].dy) < STOPVEL &&
            Math.abs(accel.X) < STOPACC &&
            Math.abs(accel.Y) < STOPACC) {
            dots[i].dx = 0;
            dots[i].dy = 0;
        }


        // move to new position
        dots[i].X += dots[i].dx;
        dots[i].Y += dots[i].dy;


        // get size of window
        var height, width;
        if (isNetscape) {
            height = window.innerHeight + document.scrollTop;
            width = window.innerWidth + document.scrollLeft;
        } else {
            height = document.body.clientHeight + document.body.scrollTop;
            width = document.body.clientWidth + document.body.scrollLeft;
        }


        // bounce of 3 walls (leave ceiling open)
        if (dots[i].Y >=  height - DOTSIZE - 1) {
            if (dots[i].dy > 0) {
                dots[i].dy = BOUNCE * -dots[i].dy;
            }
            dots[i].Y = height - DOTSIZE - 1;
        }
        if (dots[i].X >= width - DOTSIZE) {
            if (dots[i].dx > 0) {
                dots[i].dx = BOUNCE * -dots[i].dx;
            }
            dots[i].X = width - DOTSIZE - 1;
        }
        if (dots[i].X < 0) {
            if (dots[i].dx < 0) {
                dots[i].dx = BOUNCE * -dots[i].dx;
            }
            dots[i].X = 0;
        }


        // move img to new position
        dots[i].obj.left = dots[i].X;
        dots[i].obj.top =  dots[i].Y;
    }
}


// end code hiding -->
</script>




ตัวอย่างก็แบบของนิ้งอะค่ะ




 

Create Date : 31 กรกฎาคม 2553
0 comments
Last Update : 31 กรกฎาคม 2553 22:46:17 น.
Counter : 988 Pageviews.

ชื่อ :
Comment :
  *ใช้ code html ตกแต่งข้อความได้เฉพาะสมาชิก
 


sodaaning
Location :
กรุงเทพฯ Thailand

[ดู Profile ทั้งหมด]

ฝากข้อความหลังไมค์
Rss Feed

ผู้ติดตามบล็อก : 1 คน [?]




สวัสดีค่ะ เข้ามาแล้วเมนท์ให้เค้าด้วยน๊า ^^ ตอนนี้อาจไม่ได้อัพบล็อกหลายวัน(ไม่วันแล้วมั้ง- -*) ตอนนี้ไม่ว่างจริงๆ นะคะ จะมาอัพวันละบล็อก ก็ยังไงๆ อยู่ *-* ช่วยเมนท์เป็นกำลังใจให้ด้วยนะคะ + + ขอบคุณค่า ^_^ และอย่าก๊อปของไปแจกต่อเด็ดขาดมิฉะนั้นจะต้องมีเรื่องกัน หึหึ

: bbc :






Emo น้องลิง
Emo หัวหอม
Emo เหลืองดุ๊กดิ๊ก
X
X
X
เข้ามาเม้นท์ให้หน่อยนะคะ อุตส่าห์กลับมาอัพบล็อกทั้งที่น่อ~!! เป็นกำลังใจด้วยการเม้นท์ให้นิ้งนะคะๆๆ ถ้าเม้นท์(แบบดีๆ) ขอให้รวย สวย หล่อ บ้านโตๆ ไม่เป็นหนี้สิน เป็นคนดีของสังคม พ่อแม่รัก สุขภาพกาลดี เทอญ ฯ สาธุ !!

Banner Blog

โค๊ดแบนเนอร์บล็อกด้านล่างค่ะ

ก๊อปปี้โค๊ดแล้วนำไปใส่ในช่อง Sript area ค่ะ ฝากไปแปะด้วยนะคะ นิ้งจะขอบคุณเป็นอย่างมากค่ะ ^O^





แบนเนอร์ส่งข้อความหลังไมค์

สำหรับเพื่อนๆที่จะส่งข้อความหลังไมค์มาหานิ้ง ให้กดที่แบนเนอร์ด้านล่างได้เลยค่ะ

สำหรับใครที่มีข้อสงสัย หรือมีปัญหาเกี่ยวกับบล็อกหรืออื่นๆ สามารถหลังไมค์มาหาได้ค่ะ


Group Blog
  •  • ..โค๊ด+ของ ตกแต่งบล็อก งามๆ จ๊า !! อยากได้ คลิกเลยจร้า อย่ารีรอนา.. • 
  •  • ..อยากลองเข้าครัว + อยากลองแต่งสูตรเอง ที่(ไม่)เหมือนใคร(ด้วยมั้ง).. • 
  •  • ..รายชื่อเพื่อนทั้งหมดรวมอยู่ที่นี่จร้า !! อยากรู้ว่ามีคุณไหม ก็คลิกเลยสิจ๊ะ +.. • 
  •  • ..กรอบสวยๆ งามๆ สรรหาได้ที่นี่จร้า คลิกเล้ยย !!.. • 
  •  • ..สอนมือใหม่แต่ง + สร้างบล็อกจร้า มือใหม่หัดขับ ดู+คลิกก่อนเลยจ้า.. • 
  •  • ..GuestBook-สมุดเยี่ยมชมจ้า เอาของไปใช้ช่วยมาเซ็นสมุดเยี่ยมฯ ที่นี่หน่อยนะ !!.. • 
  •  • ..ไดอารี่ของเราเองจ้า ใส่พาสเวิร์ดให้ถูกก่อน ถึงจะเข้าได้นา ^^ คำใบ้ก็คือ ลงท้ายด้วย z ค๊า.. • 
  •  • ..สอน Photoshop ง่ายๆ จ้า พร้อมรูปและคำอธิบายเข้าใจง่ายจ้า.. • 
  •  • ..ก็คล้ายๆ ห้องส่วนตัวหรือไม่ก็ไดอารี่แหล่ะ แต่เราตั้งใจจะเก็บของส่วนตัวไว้ ณ ที่นี่น่ะ.. • 
  •  • ..ประกาศที่ต้องอ่านจร้า !! ไม่อ่านระวังตกเทรนด์เรื่องของเรานะจร๊ะ ฮ่าๆๆ.. • 
  •  • ..เกม Hip Street จร๊า สอนวิธีเล่นเบื้องต้นด้วยแล้วนะค่ะ อยากรู้เพิ่มเติมกว่านี้ .. คลิก !!!.. • 
  •  • ..รายการโปรดของเราเองหล่ะ มีทั้งการ์ตูนหรือไม่ก็อาหารที่ชอบ อ่านะ อยากรู้ก็คลิกจร๊ะ *.. • 
  •  • ..ระบายอารมณ์..ง่ะ เบื่อๆ เศร้าๆ เหงา โกรธๆ ก็มาระบายที่นี่แหล่ะ.. • 
  •  • ..ห้องส่วนตัวเองจ้า คล้ายๆ กับมุมเล็กๆ อ่าแหละ แต่ว่ามันเป็นความลับมากๆๆ ก็เลยต้องเก็บไว้ ณ ที่นี่.. • 
  •  • ..แบบว่าเรารับทำของตกแต่งบล็อกทุกอย่าง ทุกชนิดค่ะ เช่น สกอบาร์,, BG,, Head Blog หรืออื่นๆ แล้วก็กำลังจะเปิดรับทำโค๊ด(ทุกชนิด เช่น แฟลช ฯลฯ)+แปลงโค๊ดด้วยล่ะนา.. • 
  •  • ..สอนทำเมาส์แบบนิ่งจร๊ะ อยากลองอยากทำก็เข้ามาเลยย.. • 
  •  • ..สอนทำเมาส์แบบดุ๊กดิ๊กจร๊ะ อยากลองอยากทำก็เข้ามาเลยย.. • 
  •  • ..เปิดรับทำเมาส์แล้วจร๊ะ ทำไม่เก่ง ทำไม่เป็น โหลดไม่ได้ สั่งทำกับเราก็ได้น๊ะ !!.. • 
  •  • ..เก็บโปสเตอร์ไว้ใช้งานในเว็บต่าง ๆ อาจ้า ^^ ห้ามใช้เป็นของตัวเองเด็ดขาด มิฉะนั้น แช่งงง !!!!.. • 
  •  • ..ทดสอบหน้า Page HTML ไว้อัพโหลดในเว็บ fileve จ้า ^^.. • 
 
 
กรกฏาคม 2553
 123
45678910
11121314151617
18192021222324
25262728293031
 
31 กรกฏาคม 2553
 
All Blogs
 
Friends' blogs
[Add sodaaning's blog to your web]
Links
 

 Pantip.com | PantipMarket.com | Pantown.com | © 2004 BlogGang.com allrights reserved.