ဒီတစ္ခါေတာ့.. IE နဲ႔ Mozilla ကုိ..ငလွ်င္လွဳတ္လိုက္ၾကေအာင္.. :) IE မွာေတာ့... သိသာပါတယ္...။ Mozilla မွာေတာ့...သိပ္မသိသာဘူး..။ Shaking ၿဖစ္သြားတာပါ...။
ေအာက္က code ေလးေတြကုိ.. notepad ထဲမွာ copy ကူးၿပီး... shake.html လို႔ save လိုက္ပါ..။ ၿပီးရင္.. save ထားတဲ့.. file ကုိ.. double click ႏွိပ္ၿပီးဖြင့္ၾကည့္လိုက္ပါ.. ^_^
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<SCRIPT language=JavaScript>
<!-- Begin
function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
parent.moveBy(-i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,-i);
parent.moveBy(i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,i);
}
}
}
}
// End -->
<!--
shake(1);
//-->
</SCRIPT>
</head>
<body>
</body>
</html>
beautiful html code ေတြတင္ရတဲ့.. ရည္ရြယ္ခ်က္ကေတာ့.. တခ်ိဳ႔အေရးတၾကီးလိုတဲ့အခါ...အၿမန္ဆံုးသံုးႏိုင္ေအာင္လုိ႔ပါ..
0 comments:
Post a Comment