1. Trang chủ
  2. » Cao đẳng - Đại học

CODE TAO HIEU UNG CHO TRO CHUOT

11 15 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 11
Dung lượng 15,03 KB

Nội dung

CODE TẠO CON TRỎ CHUỘT NGỘ NGHĨNH 1) Hiệu ứng chuột chùm sao 1. <style>A:hover{cursor:[r]

(1)

HƯỚNG DẪN TẠO HIỆU ỨNG CHO TRỎ CHUỘT - Bước : Bạn truy cập vào http://www.totallyfreecursors.com/

- Bước 2: Click vào hình trỏ chuột mà bạn thích

- Bước 3: Trong cửa sổ ra, bạn copy mã code HTML

- Bước 4: Đặt code vào góc vui trang blog bạn

Code xuất khung : rê chuột vào vị trí khơng có link website hiệu ứng trỏ chuột có tác dụng

Ví dụ:

<div align="center" style="z-index:9;visibility:visible;"><a

href="http://www.totallyfreecursors.com/" target="_blank" class="tfc"><img src="http://downloads.totallyfreecursors.com/public/CursorsLogo88-31.gif" border="0" width="88" height="31" alt="Free Tail MySpace Cursors at

www.totallyfreecursors.com" /></a></div><style>HTML,BODY{cursor: url("http://downloads.totallyfreecursors.com/cursor_files/tail2.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/tail2.gif"), auto;}</style>

Code xuất khung : rê chuột vào vị trí có link website hiệu ứng trỏ chuột có tác dụng

Ví dụ:

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/tail2.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/Tail2.gif"), auto;}</style>

(2)

CODE TẠO CON TRỎ CHUỘT NGỘ NGHĨNH 1) Hiệu ứng chuột chùm 1

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/strtail.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/strtail.gif"), auto;}</style>

2) Hình khỉ

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/monkeyani.cur"),

url("http://downloads.totallyfreecursors.com/thumbnails/monkey-ani.gif"), auto;}</style>

3) Hình nhấp nháy

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/sparklepink.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/SparklePink.gif"), auto;}</style>

4) Hình biểu tượng đội bóng đá M.U

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/manchesterunitedbadge.cur"), url("http://downloads.totallyfreecursors.com/thumbnails/manchester-united-badge.gif"), auto;}</style>

5) Hình bé ngộ nghĩnh

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/babyrollani.cur"), url("http://downloads.totallyfreecursors.com/thumbnails/baby-roll-ani.gif"), auto;}</style>

6) Hình trái tim

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/hearttailup.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/hearttailup.gif"), auto;}</style>

7) Hình ếch 1

<style>A:hover{cursor:

(3)

url("http://downloads.totallyfreecursors.com/thumbnails/frog26workinginbackground.gif "), auto;}</style>

8) Hình ếch 2

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/frog26verticalresize.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/frog26verticalresize.gif"), auto;}</style>

9) Hình chùm 2

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/tail2.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/Tail2.gif"), auto;}</style>

10) Hình bướm

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/butterflyani1.cur"), url("http://downloads.totallyfreecursors.com/thumbnails/butterfly-ani1.gif"), auto;}</style>

11) Hình naturo

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/naruto3.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/Naruto3.gif"), auto;}</style>

12) Hình xương ngộ nghĩnh

<div align="center" style="z-index:9;visibility:visible;"><a

href="http://www.totallyfreecursors.com/" target="_blank" class="tfc"><img

src="http://downloads.totallyfreecursors.com/public/CursorsLogo88-31.gif" border="0" width="88" height="31" alt="Free Alien Dance MySpace Cursors at

www.totallyfreecursors.com" /></a></div><style>HTML,BODY{cursor: url("http://downloads.totallyfreecursors.com/cursor_files/aliendance.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/aliendance.gif"), auto;}</style>

13) Hình cầu lửa

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/8ballflame.cur"),

(4)

14) Hình bài

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/acespades.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/AceSpades.gif"), auto;}</style>

15) Hình trái bóng bi da

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/8balllg.cur"),

url("http://downloads.totallyfreecursors.com/thumbnails/8BallLG.gif"), auto;}</style>

16) Hình biểu tượng yahoo

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/bounce.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/bounce.gif"), auto;}</style>

17) Hình thỏ

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/duchrabbit.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/DuchRabbit.gif"), auto;}</style>

18) Hình trái tim

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/iloveanimals1.cur"), url("http://downloads.totallyfreecursors.com/thumbnails/iloveanimals-pink.gif"), auto;}</style>

19) Hình gấu

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/koala.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/Koala.gif"), auto;}</style>

20) Hình kanguru

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/kangaroo.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/kangaroo.gif"), auto;}</style>

(5)

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/panda1.cur"),

url("http://downloads.totallyfreecursors.com/thumbnails/panda1.gif"), auto;}</style>

22) Hình bé baby 1

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/baby1.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/Baby1.gif"), auto;}</style>

23) Hình bé baby 2

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/babygirl-ani.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/BabyGirl-ani.gif"), auto;}</style>

24) Hình cờ argentina

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/argentina.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/ARGENTINA.gif"), auto;}</style>

25) Hình cờ Anh

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/england.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/ENGLAND.gif"), auto;}</style>

26) Hình cờ nhật bản

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/japan.ani"),

url("http://downloads.totallyfreecursors.com/thumbnails/JAPAN.gif"), auto;}</style>

27) Hình cờ việt nam

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/vietnam.ani"),

(6)

28) Hình chử i love my pet

<style>A:hover{cursor:

url("http://downloads.totallyfreecursors.com/cursor_files/lovemypets.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/LoveMyPets.gif"), auto;}</style>

============================================================== Chữ vòng quanh theo trỏ

<script LANGUAGE="JavaScript">

<! Original: Quang Tuấn (info@123doc.org ) > <! Web Site: http://violet.vn/quangtuan8682 >

<! This script and many more are available free online at > <! The JavaScript Source!! http://violet.vn/quangtuan8682 > <! Begin

if (document.all) { //Things you can alter

yourLogo = "Welcome to Blog giáo viên Thái Bình!"; //Not less than letters! logoFont = "Arial";

logoColor = "000000";

//Nothing needs altering below! yourLogo = yourLogo.split(''); L = yourLogo.length;

TrigSplit = 360 / L; Sz = new Array() logoWidth = 100; logoHeight = -30; ypos = 0;

xpos = 0; step = 0.03; currStep = 0;

document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');

for (i = 0; i < L; i++) {

document.write('<div id="ie" style=& quot;position:absolute;top:0px;left:0px; '

+'width:10px;height:10px;font-family:'+logoFont+';font-size:12px;' +'color:'+logoColor+';text-align:center">'+yourLogo[i]+'</div>'); }

(7)

function Mouse() { ypos = event.y; xpos = event.x - 5; }

document.onmousemove=Mouse; function animateLogo() {

outer.style.pixelTop = document.body.scrollTop; for (i = 0; i < L; i++) {

ie[i].style.top = ypos + logoHeight * Math.sin(currStep + i * TrigSplit * Math.PI / 180); ie[i].style.left = xpos + logoWidth * Math.cos(currStep + i * TrigSplit * Math.PI / 180); Sz[i] = ie[i].style.pixelTop - ypos;

if (Sz[i] < 5) Sz[i] = 5;

ie[i].style.fontSize = Sz[i] / 1.7; }

currStep -= step;

setTimeout('animateLogo()', 20); }

window.onload = animateLogo; }

// End > </script>

<! Script Size: 1.93 KB >

====================================================== CODE Làm Con Chuột Có Mấy Cái Vịng Chạy Chạy Xung Quanh <script language="JavaScript">

<! Mouse Attack by Kurt Grigg - http://www.btinternet.com/~kurt.grigg/javascript var num=10;//Number of dots!

var vel=20;//Speed!

var col=new Array('#0080ff','#ffffff','#0000ff','#44ccff');//Dot colours, 2! var stopafter=60; //Stop and clear after x secondS!

//Nothing needs altering past here var MAy=0;

var MAx=0; var py=0; var px=0; var angle=0; var distance=0; var rep;

var ry=0; var rx=0; var tmr=null;

(8)

var n6=(document.getElementById&&!document.all); var ie=(document.all);

var o6=(navigator.appName.indexOf("Opera") != -1)?true:false; var _d=(n4||ie)?'document.':'document.getElementById(" '; var _a=(n4||n6)?'':'all.';

var _r=(n6)?'")':''; var _s=(n4)?'':'.style';

var v=(n4)?"show":"visible"; var put=false;

stopafter*=1000; if (n4||n6){

window.captureEvents(Event.MOUSEMOVE); function mouse1(e){

if (put) return false;

MAy = e.pageY-window.pageYOffset; MAx = e.pageX;

}

if (n4) window.onMouseMove=mouse1; else document.onmousemove=mouse1; }

if (ie||o6){

function mouse2(){ if (put) return false;

MAy = (ie)?event.clientY:event.clientY-window.pageYOffset; MAx = event.clientX;

}

document.onmousemove=mouse2; }

if (n4){

for (inc=0; inc < num; inc++)

document.write('<layer name=dots'+inc+' top=0 left=0 width='+inc/3+' height='+inc/3+' bgcolor=#ffffff></layer>');

} else{

if (ie&&!o6){

document.write("<div id='outer' style='position:absolute;top:0px;left:0px'>"); document.write("<div style='position:relative'>");

}

for (inc=0; inc < num; inc++)

document.write('<div id="dots'+inc+'" style="position:absolute;top:0px;left:0px;width:'+ inc/3+';height:'+inc/3+';background:#ffffff;font-size:1">.</div>');

if (ie&&!o6) document.write("</div></div>"); }

function pos(){

(9)

ry=Math.round(Math.random()*h); rx=Math.round(Math.random()*w); rep=Math.round(Math.random()*3); if (rep == 3)ry=0;

if (rep == 2)ry=h; if (rep == 1)rx=0; if (rep == 0)rx=w; py=ry;

px=rx; } pos();

function followleader(){

sy=(!ie)?window.pageYOffset:0; sx=(!ie)?window.pageXOffset:0;

if (ie) outer.style.top=document.body.scrollTop; for (inc=0; inc < num; inc++){

randomcol=col[Math.floor(Math.random()*col.length)]; temp1=eval(_d+_a+"dots"+inc+_r+_s);

temp1.visibility=v; if (inc < num-1){

temp2=eval(_d+_a+"dots"+(inc+1)+_r+_s); temp1.top=temp2.top;

temp1.left=temp2.left }

else{

temp1.top=py+sy; temp1.left=px; }

if (n4)temp1.bgColor=randomcol; else temp1.background=randomcol; }

}

function bomb(){ ay=MAy-py; ax=MAx-px;

angle=Math.round(Math.atan2(ay,ax)*180/Math.PI); if (angle < 0) angle += 360;

MAdy=py-MAy; MAdx=px-MAx;

distance=Math.floor(Math.sqrt(MAdx*MAdx+MAdy*MAdy) ); go_y = Math.round(vel*Math.sin(angle*Math.PI/180));

go_x = Math.round(vel*Math.cos(angle*Math.PI/180)); py+=go_y;

px+=go_x;

(10)

tmr=setTimeout("bomb()",20); }

bomb();

function dsbl(){

v=(n4)?"hide":"hidden"; put=true;

MAx=0; MAy=0;

setTimeout('clearTimeout(tmr)',stopafter+100); }

setTimeout('dsbl()',stopafter); // >

</script>

============================================================= Link flash di chuyển theo chuột

CODE chèn Flast:

<embed type="application/x-shockwave-flash" AllowScriptAccess='never'

src="http://i173.photobucket.com/albums/w49/chiplove9xpro/Flash/Share/chiploveFlashl oader.swf?file= LINK FLAST Thay Vô Đây " width="560" height="385"

wmode="transparent"></embed>

Chiều rộng, chiều cao tùy chỉnh cho hợp lí bạn nhé Hiệu ứng theo chuột

1 http://www.wosowoso.com/flash/12h/1t2t_81.swf http://www.wosowoso.com/flash/12h/z11.swf

3 http://www.wosowoso.com/flash/12h/z11.swf?link=%D5%E2%C0%EF

%B8%C4%B3%C9%C4%E3%D7%D4%D2%D1%B5%C4%CE%C4%D7%D6 http://www.wosowoso.com/flash/12h/woso3_flash_21.swf

5 http://www.wosowoso.com/flash/12h/1t2t_80.swf

6 http://www.wosowoso.com/flash/12h/woso3_flash_8.swf

7 http://www.wosowoso.com/flash/12h/z10.swf?link=%D5%E2%C0%EF

%B8%C4%B3%C9%C4%E3%D7%D4%D2%D1%B5%C4%CE%C4%D7%D6 http://www.wosowoso.com/flash/12h/woso3_flash_4.swf

(11)

15.http://www.wosowoso.com/flash/12h/woso3_flash_16.swf 16.http://www.wosowoso.com/flash/12h/woso3_flash_15.swf 17.http://www.wosowoso.com/flash/12h/woso3_flash_13.swf 18.http://www.wosowoso.com/flash/12h/woso3_flash_17.swf 19.http://www.wosowoso.com/flash/12h/woso3_flash_12.swf 20.http://www.wosowoso.com/flash/12h/woso3_flash_11.swf 21.http://www.wosowoso.com/flash/12h/woso3_flash_10.swf 22.http://www.wosowoso.com/flash/12h/woso3_flash_7.swf 23.http://www.wosowoso.com/flash/12h/woso3_flash_2.swf 24.http://www.wosowoso.com/flash/12h/woso3_flash_3.swf

http://www.totallyfreecursors.com/ ("http://downloads.totallyfreecursors.com/cursor_files/strtail.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/strtail.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/monkeyani.cur"), ("http://downloads.totallyfreecursors.com/thumbnails/monkey-ani.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/sparklepink.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/SparklePink.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/manchesterunitedbadge.cur"), ("http://downloads.totallyfreecursors.com/thumbnails/manchester-united-badge.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/babyrollani.cur"), ("http://downloads.totallyfreecursors.com/thumbnails/baby-roll-ani.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/hearttailup.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/hearttailup.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/frog26workinginbackground.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/frog26workinginbackground.gif ("http://downloads.totallyfreecursors.com/cursor_files/frog26verticalresize.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/frog26verticalresize.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/tail2.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/Tail2.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/butterflyani1.cur"), ("http://downloads.totallyfreecursors.com/thumbnails/butterfly-ani1.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/naruto3.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/Naruto3.gif"), a "http://downloads.totallyfreecursors.com/public/CursorsLogo88-31.gif" borde ("http://downloads.totallyfreecursors.com/cursor_files/aliendance.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/aliendance.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/8ballflame.cur"), ("http://downloads.totallyfreecursors.com/thumbnails/8ball-flame.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/acespades.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/AceSpades.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/8balllg.cur"), ("http://downloads.totallyfreecursors.com/thumbnails/8BallLG.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/bounce.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/bounce.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/duchrabbit.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/DuchRabbit.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/iloveanimals1.cur"), ("http://downloads.totallyfreecursors.com/thumbnails/iloveanimals-pink.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/koala.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/Koala.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/kangaroo.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/kangaroo.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/panda1.cur"), ("http://downloads.totallyfreecursors.com/thumbnails/panda1.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/baby1.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/Baby1.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/babygirl-ani.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/BabyGirl-ani.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/argentina.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/ARGENTINA.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/england.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/ENGLAND.gif"), ("http://downloads.totallyfreecursors.com/cursor_files/japan.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/JAPAN.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/vietnam.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/VIETNAM.gif"), a ("http://downloads.totallyfreecursors.com/cursor_files/lovemypets.ani"), ("http://downloads.totallyfreecursors.com/thumbnails/LoveMyPets.gif"), http://violet.vn/quangtuan8682 > gg - http://www.btinternet.com/~kurt.grigg/javascript http://www.wosowoso.com/flash/12h/1t2t_81.swf http://www.wosowoso.com/flash/12h/z11.swf http://www.wosowoso.com/flash/12h/z11.swf?link=%D5%E2%C0%EF http://www.wosowoso.com/flash/12h/woso3_flash_21.swf http://www.wosowoso.com/flash/12h/1t2t_80.swf http://www.wosowoso.com/flash/12h/woso3_flash_8.swf http://www.wosowoso.com/flash/12h/z10.swf?link=%D5%E2%C0%EF http://www.wosowoso.com/flash/12h/woso3_flash_4.swf http://www.wosowoso.com/flash/12h/woso3_flash_1.swf http://www.wosowoso.com/flash/12h/woso3_flash_38.swf http://www.wosowoso.com/flash/19h/Christmas_flash_17.swf http://www.wosowoso.com/flash/12h/woso3_flash_19.swf http://www.wosowoso.com/flash/12h/woso3_flash_20.swf http://www.wosowoso.com/flash/12h/woso3_flash_18.swf http://www.wosowoso.com/flash/12h/woso3_flash_16.swf http://www.wosowoso.com/flash/12h/woso3_flash_15.swf http://www.wosowoso.com/flash/12h/woso3_flash_13.swf http://www.wosowoso.com/flash/12h/woso3_flash_17.swf http://www.wosowoso.com/flash/12h/woso3_flash_12.swf http://www.wosowoso.com/flash/12h/woso3_flash_11.swf http://www.wosowoso.com/flash/12h/woso3_flash_10.swf http://www.wosowoso.com/flash/12h/woso3_flash_7.swf http://www.wosowoso.com/flash/12h/woso3_flash_2.swf http://www.wosowoso.com/flash/12h/woso3_flash_3.swf

Ngày đăng: 21/05/2021, 22:43

TỪ KHÓA LIÊN QUAN

w