Followers

အီးေမးလ္မွာဖတ္ခ်င္ရင္အေပၚမွာ Sign In (Menber)ဝင္ၾကပါလို႕ေတာင္းဆိုပါရေစ။ခင္မင္ေလးစားလွ်က္ေကပီသရီးမိသားစု

kp3နည္းပညာ၊၂၇၉၊ဘေလာ့ Mouse Poiter မွာအခ်ိန္နဲ ့နာရီထည့္နည္း

ဒါေလးကေတာ့ဘေလာ့မိတ္ေဆြမ်ားအားလံုးၾကိဳက္ၾကမယ္လို ့ေမ်ာ္လင့္ပါတယ္မိမိရဲ ့ဘေလာ့ Mouse Poiter မွာအခ်ိန္ႏွင့္နာရီက တေကာက္ေကာက္လိုက္ေအာင္လုပ္တဲ့ Widget ေလးမ်ွေ၀ေပးလိုက္ပါ။တခ်ိဳ ့ဆိုက္ ေတြကေတာ့သံုးထားတာရွိပါတယ္၊ဒါေပမယ့္အရမ္းကိုနည္းပါတယ္၊ဒီMouse Poiter ကိုတင္ျပီးသားတဲ့သူ လည္းရွိပါတယ္။ဒါေပမယ့္သူတို႕တင္ထားတာကက်ေနာ္လည္းၾကည့္ျပီးပါျပီအရမ္းကိုရွဳပ္ပါတယ္။ HTML Code ကေနထည့္တယ္ဆိုေတာ့အခုက်ေနာ္တင္တာေလးကေတာ့အရမ္းကိုရွင္းပါတယ္ဘာ HTML Code ကိုရွာစရာမလိုပါဘူး၊ADD A GADGET မွာထည့္ေပးလိုက္ရင္ရပါျပီ။ေအာက္မွာပံုနဲ ့တကြျပထာေပးပါတယ္။

ဘေလာ့ဂါနည္းပညာအသစ္ႏွစ္ခုက kp3နည္းပညာ၊၂၇၈၊ နဲ႕ kp3နည္းပညာ၊၂၇၅၊မွာရွိပါတယ္။





ေအာက္က Code ကိုထည့္ေပးလိုက္ပါ။
<!--kp3-နည္းပညာ-Mouse poiter-->
<h2 class="title">Timer</h2>
<div class="widget-content">
<style type="text/css">
<!--
/*Do not Alter these. Set for alignment*/
.css1{
position:absolute;top:0px;left:0px;
width:16px;height:16px;
font-family:Arial,sans-serif;
font-size:16px;
text-align:center;
font-weight:bold;
}
.css2{
position:absolute;top:0px;left:0px;
width:10px;height:10px;
font-family:Arial,sans-serif;
font-size:10px;
text-align:center;
}
//-->
</style>

<script language="JavaScript">
<!-- Mouse Follow Clock from Rainbow Arch -->
<!-- This script and many more from : -->
<!-- http://www.scoobycyber.blogspot.com -->

<!-- Mouse Follow Clock from www.scoobycyber.blogspot.com
//Hide from older browsers
if (document.getElementById&&!document.layers){

// *** Clock colours
dCol='#80FF00'; //date colour.
fCol='#9400d3'; //face colour.
sCol='#9400d3'; //seconds colour.
mCol='#dc143c'; //minutes colour.
hCol='#ff69b4'; //hours colour.

// *** Controls
del=0.6; //Follow mouse speed.
ref=40; //Run speed (timeout).

// Alter nothing below! Alignments will be lost!
var ieType=(typeof window.innerWidth != 'number');
var docComp=(document.compatMode);
var docMod=(docComp && docComp.indexOf("CSS") != -1);
var ieRef=(ieType && docMod)
?document.documentElement:document.body;
theDays=new Array("SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY");
theMonths=new Array("JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER");
date=new Date();
day=date.getDate();
year=date.getYear();
if (year < 2000) year=year+1900;
tmpdate=" "+theDays[date.getDay()]+" "+day+" "+theMonths[date.getMonth()]+" "+year;
D=tmpdate.split("");
N='3 4 5 6 7 8 9 10 11 12 1 2';
N=N.split(" ");
F=N.length;
H='...';
H=H.split("");
M='....';
M=M.split("");
S='.....';
S=S.split("");
siz=40;
eqf=360/F;
eqd=360/D.length;
han=siz/5.5;
ofy=-7;
ofx=-3;
ofst=70;
tmr=null;
vis=true;
mouseY=0;
mouseX=0;
dy=new Array();
dx=new Array();
zy=new Array();
zx=new Array();
tmps=new Array();
tmpm=new Array();
tmph=new Array();
tmpf=new Array();
tmpd=new Array();
var sum=parseInt(D.length+F+H.length+M.length+S.length)+1;
for (i=0; i < sum; i++){
dy[i]=0;
dx[i]=0;
zy[i]=0;
zx[i]=0;
}
algn=new Array();
for (i=0; i < D.length; i++){
algn[i]=(parseInt(D[i]) || D[i]==0)?10:9;
document.write('<div id="_date'+i+'" class="css2" style="font-size:'+algn[i]+'px;color:'+dCol+'">'+D[i]+'</div>');
tmpd[i]=document.getElementById("_date"+i).style;
}
for (i=0; i < F; i++){
document.write('<div id="_face'+i+'" class="css2" style="color:'+fCol+'">'+N[i]+'</div>');
tmpf[i]=document.getElementById("_face"+i).style;
}
for (i=0; i < H.length; i++){
document.write('<div id="_hours'+i+'" class="css1" style="color:'+hCol+'">'+H[i]+'</div>');
tmph[i]=document.getElementById("_hours"+i).style;
}
for (i=0; i < M.length; i++){
document.write('<div id="_minutes'+i+'" class="css1" style="color:'+mCol+'">'+M[i]+'</div>');
tmpm[i]=document.getElementById("_minutes"+i).style;
}
for (i=0; i < S.length; i++){
document.write('<div id="_seconds'+i+'" class="css1" style="color:'+sCol+'">'+S[i]+'</div>');
tmps[i]=document.getElementById("_seconds"+i).style;
}

function onoff(){
if (vis){
vis=false;
document.getElementById("control").value="Clock On";
}
else{
vis=true;
document.getElementById("control").value="Clock Off";
Delay();
}
kill();
}

function kill(){
if (vis)
document.onmousemove=mouse;
else
document.onmousemove=null;
}
function mouse(e){
var msy = (!ieType)?window.pageYOffset:0;
if (!e) e = window.event;
if (typeof e.pageY == 'number'){
mouseY = e.pageY + ofst - msy;
mouseX = e.pageX + ofst;
}
else{
mouseY = e.clientY + ofst - msy;
mouseX = e.clientX + ofst;
}
if (!vis) kill();
}
document.onmousemove=mouse;

function winDims(){
winH=(ieType)?ieRef.clientHeight:window.innerHeight;
winW=(ieType)?ieRef.clientWidth:window.innerWidth;
}
winDims();
window.onresize=new Function("winDims()");

function ClockAndAssign(){
time = new Date();
secs = time.getSeconds();
sec = Math.PI * (secs-15) / 30;
mins = time.getMinutes();
min = Math.PI * (mins-15) / 30;
hrs = time.getHours();
hr = Math.PI * (hrs-3) / 6 + Math.PI * parseInt(time.getMinutes()) / 360;

for (i=0; i < S.length; i++){
tmps[i].top=dy[D.length+F+H.length+M.length+i]+ofy+(i*han)*Math.sin(sec)+scrollY+"px";
tmps[i].left=dx[D.length+F+H.length+M.length+i]+ofx+(i*han)*Math.cos(sec)+"px";
}
for (i=0; i < M.length; i++){
tmpm[i].top=dy[D.length+F+H.length+i]+ofy+(i*han)*Math.sin(min)+scrollY+"px";
tmpm[i].left=dx[D.length+F+H.length+i]+ofx+(i*han)*Math.cos(min)+"px";
}
for (i=0; i < H.length; i++){
tmph[i].top=dy[D.length+F+i]+ofy+(i*han)*Math.sin(hr)+scrollY+"px";
tmph[i].left=dx[D.length+F+i]+ofx+(i*han)*Math.cos(hr)+"px";
}
for (i=0; i < F; i++){
tmpf[i].top=dy[D.length+i]+siz*Math.sin(i*eqf*Math.PI/180)+scrollY+"px";
tmpf[i].left=dx[D.length+i]+siz*Math.cos(i*eqf*Math.PI/180)+"px";
}
for (i=0; i < D.length; i++){
tmpd[i].top=dy[i]+siz*1.5*Math.sin(-sec+i*eqd*Math.PI/180)+scrollY+"px";
tmpd[i].left=dx[i]+siz*1.5*Math.cos(-sec+i*eqd*Math.PI/180)+"px";
}
if (!vis)clearTimeout(tmr);
}
buffW=(ieType)?80:90;
function Delay(){
scrollY=(ieType)?ieRef.scrollTop:window.pageYOffset;
if (!vis){
dy[0]=-100;
dx[0]=-100;
}
else{
zy[0]=Math.round(dy[0]+=((mouseY)-dy[0])*del);
zx[0]=Math.round(dx[0]+=((mouseX)-dx[0])*del);
}
for (i=1; i < sum; i++){
if (!vis){
dy[i]=-100;
dx[i]=-100;
}
else{
zy[i]=Math.round(dy[i]+=(zy[i-1]-dy[i])*del);
zx[i]=Math.round(dx[i]+=(zx[i-1]-dx[i])*del);
}
if (dy[i-1] >= winH-80) dy[i-1]=winH-80;
if (dx[i-1] >= winW-buffW) dx[i-1]=winW-buffW;
}

tmr=setTimeout('Delay()',ref);
ClockAndAssign();
}
window.onload=Delay;
}
//-->
</script></div>
<!---kp3-နည္းပညာ-Mouse poiter-http://kp3family.blogspot.com-->

မသိေသးတဲ႔မိတ္ေဆြေတြကိုအသိေပးမ်ွေဝေစခ်င္ပါတယ္၊
ဘေလာ့ဂါမိတ္ေဆြအားလံုးကိုအစဥ္ျမဲခ်စ္ခင္ေလးစားလၽွက္ kp3မိသားစု

Related Post

Reactions:

9 comments:

ယူလိုက္တာ မထြက္လာဘူးဘယ္လိုလုပ္ရမွန္းလည္းမသိေတာ့ဘူး

ဟား...ေကာင္းေကာင္းျပန္ယူလိုက္ပါ။အဆင္ေျပမွာပါ။ခင္မင္ေလးစားလွ်က္ေကပီသရီးမိသားစု
လက္ရွိသံုးေနတဲ့ဘေလာ့ေတြကလည္းkp3ဆီကဟာေလးပါ

ကၽြန္ေတာ့္ ရဲ့ေမာ့ေလးကို ပန္းထည့္ထားလို႔ထင္တယ္ေနာ္အကို
အကိုယ့္ရဲ့ gmail လိပ္စာေရးေပးပါလားေနာ္
ထည့္လုိ႔မရဘူး အရမ္းထည့္ခ်င္တယ္

ကၽြန္ေတာ္႔ မွာက်ေတာ႔ ဘယ္လုိေပၚမွန္းေတာ႔မသိဘူး...
Basics
Featured
Most Popular
More Gadgets


Add your own
အဲဒါေတြထဲက ဘယ္ဟာကုိေရြးျပီးဘယ္လုိထည္႔ရမွာလဲဆုိတာကုိလည္း..ရွင္ျပေပးပါအုံး...KP-3မိသားစု ရယ္...ကၽြန္ေတာ္႔မွာက်ေတာ႔..base html ျဖစ္ေနတယ္...အဲဒါဘယ္လုိလုပ္ရမလဲဆုိတာလည္းနည္းနည္းေလးေျပာျပေပးပါအုံးေနာ္...ေစာင္႔ေမွ်ာ္လွ်က္....သံသယ

ေကာင္းပါျပီဘေလာ့ကိုလည္ကိုယ္တုိင္မၾကည့္ျဖစ္တာၾကာေတာ့က်ေနာ္ၾကည့္လိုက္ပါအံုးမယ္။အဆင္ေတာ့ေျပမွာပါ.

ရဝူးဗ်ာေၿပာတဲ့အတိုင္းလိုက္လုပ္တာရဝူးေရာ
နဲနဲေလာက္ရွင္းၿပေပးဦးအကိုေတာ္

ဟုတ္ပါတယ္ခင္ဗ်ာ။လုပ္လို႔မရဘူး။ကုဒ္ကို Copy ကူးလိုက္ေတာ့ဒီလို
wrtetyytuyu iutito
သူ႔ေဘးနားမွာ Spacebar ေနရာကမ်ားေနသလားလို႔ အဲဒါကို Spacebar
ေနရာကိုအကုန္လံုးျဖတ္ပစ္တယ္။ဒီလိုေပါ့
rtertertyeryrtyyyerty
သူ႔ေဘးနားမွာ Spacebarေနရာမရွိေအာင္အကုန္ျဖတ္လိုက္တယ္။ထည့္ၾကည့္တယ္။မရဘူးမေပၚဘူး။
နာရီေလးက ဘယ္လိုလုပ္ရမလဲမသိဘူးေနာ္။ ေက်းဇူးျပဳၿပီး.........

Widget မွာႀကည့္လိုက္ေတာ့ timer စလံုးဘဲေပၚေနတယ္။
http://moenghsipaw.blogspot.com/
သံုးထား mouse cousor ေတြအကုန္ထုတ္ၿပီးထည့္ၾကည့္မရဘူး။
ေက်းဇူးတင္ပါတယ္။
ျပန္ၾကည့္ေပးအံုးေနာ္။

Post a Comment

မွတ္ခ်က္မ်ားကို စိစစ္ၿပီးမွ ေဖာ္ျပေပးမည္ ျဖစ္ပါသျဖင့္ ဤစာမ်က္ႏွာေပၚမွာ ခ်က္ခ်င္း ျမင္ရမည္မဟုတ္ပါ။ မၾကာခင္ ေနာက္တခါ ျပန္လာၿပီး မိမိ၏ မွတ္ခ်က္ကို ျပန္ၾကည့္ပါရန္ ေမတၲာရပ္ခံပါသည္။