Skip to main content

Webpage ထဲမွာ Floating fly image ထည့္ျခင္း

ဒီလုိဗ်ာ webpage ထဲမွာ မုိးပ်ံပူေပါင္းေလးေတြပ်ံေနတဲ့ပုံစံလုပ္တဲ့ code ေလးကုိက်ေနာ္ေတြ႔ထားလုိ႔ လုပ္ေဆာင္ခ်က္က ကုိယ္ညႊန္းခ်င္တဲ့ေနရာကုိ ညႊန္းေပးတဲ့ link ညႊန္းေပးဖုိ႔အတြက္ပါ။ ဒါေပသိ ညႊန္းပုံဒီဇုိင္ေလးဆန္းတယ္ site ထဲမွာ မုိးပ်ံပူေပါင္းေလးေတြပ်ံေနတာ
နမူတာၾကည့္ခ်င္ရင္ http://www.dynamicdrive.com/dynamicindex4/flyimage.htm  ဒီ site မွာ ၾကည့္ၾကည့္ေပါ့။ က်ေနာ္လည္း အဲ့ ေနရာကေတြ႔တာပါ။ အဲ့မွာလည္း code ကုိေပးထားပါတယ္။ ဒါေပသိ code ေတြကို နည္းနည္းျပင္ရပါေသးတယ္။ က်ေနာ္က ျပင္ၿပီးသားေလးေပးမယ္။ ေအာက္က code ကုိ html အလုပ္လုပ္တဲ့ေနရာမွာထည့္ေပးရမွာဗ်။

<html>
<head>
<script type="text/javascript" src="http://api.ning.com/files/CsbPscMmoMCpBVoMC*yowuSiB9TtTJi4FnPDNfYvqndMbfoBkd-

KyggNQJAevdZVfQjxyPL8eXR6jmxRfsjb06mJRUHsnkny/float2.js"> </script>
<script type="text/javascript">

/***********************************************
* Floating image script- By Virtual_Max (http://www.geocities.com/siliconvalley/lakes/8620)
* Modified by Dynamic Drive for various improvements
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

//Step 1: Define unique variable names depending on number of flying images (ie:3):
var flyimage1, flyimage2, flyimage3

function pagestart(){
//Step 2: Using the same variable names as 1), add or delete more of the below lines (60=width, height=80 of image):
 flyimage1=new Chip("flyimage1",47,68);
 flyimage2=new Chip("flyimage2",47,68);
 flyimage3=new Chip("flyimage3",47,68);


//Step 3: Using the same variable names as 1), add or delete more of the below lines:
movechip("flyimage1");
movechip("flyimage2");
movechip("flyimage3");

}

if (window.addEventListener)
window.addEventListener("load", pagestart, false)
else if (window.attachEvent)
window.attachEvent("onload", pagestart)
else if (document.getElementById)
window.onload=pagestart

</script>
</head>
<html>
<head>
<script type="text/javascript" src="http://www.dynamicdrive.com/dynamicindex4/moveobj.js"> </script>
<script type="text/javascript">

/*
Floating image II (up down)- Bruce Anderson (http://appletlib.tripod.com)
Submitted to Dynamicdrive.com to feature script in archive
Modified by DD for script to function in NS6
For 100's of FREE DHTML scripts, Visit http://www.dynamicdrive.com
*/

var XX=20; // X position of the scrolling objects
var xstep=1;
var delay_time=60;

//Begin of the unchangable area, please do not modify this area
var YY=0; 
var ch=0;
var oh=0;
var yon=0;

var ns4=document.layers?1:0
var ie=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0

if(ie){
YY=document.body.clientHeight;
point1.style.top=YY;
}
else if (ns4){
YY=window.innerHeight;
document.point1.pageY=YY;
document.point1.visibility="hidden";
}
else if (ns6){
YY=window.innerHeight
document.getElementById('point1').style.top=YY
}


function reloc1()
{

if(yon==0){YY=YY-xstep;}
else{YY=YY+xstep;}
if (ie){
ch=document.body.clientHeight;
oh=point1.offsetHeight;
}
else if (ns4){
ch=window.innerHeight;
oh=document.point1.clip.height;
}
else if (ns6){
ch=window.innerHeight
oh=document.getElementById("point1").offsetHeight
}
       
if(YY<0){yon=1;YY=0;}
if(YY>=(ch-oh)){yon=0;YY=(ch-oh);}
if(ie){
point1.style.left=XX;
point1.style.top=YY+document.body.scrollTop;
}
else if (ns4){
document.point1.pageX=XX;
document.point1.pageY=YY+window.pageYOffset;
}
else if (ns6){
document.getElementById("point1").style.left=XX
document.getElementById("point1").style.top=YY+window.pageYOffset
}

}

function onad()
{
if(ns4)
document.point1.visibility="visible";
loopfunc();
}
function loopfunc()
{
reloc1();
setTimeout('loopfunc()',delay_time);
}

if (ie||ns4||ns6)
window.onload=onad

</script>
</head>
<body>
<!-- Step 4: Define your flying images. For each image's ID tag, use the same variable names as 1) above -->

<DIV ID="flyimage1" STYLE="xg-p:absolute; left: -500px; width:47; height:68;">
<A HREF="edinooyin.com "target="_blank"><IMG SRC="http://www.dynamicdrive.com/ballon2.gif" BORDER=0></a>
</DIV>

<DIV ID="flyimage2" STYLE="xg-p:absolute; left: -500px; width:47; height:68;">
<A HREF="edinooyin.com/profile/sawsan"target="_blank"><IMG SRC="http://www.dynamicdrive.com/ballon3.gif" BORDER=0></a>
</DIV>

<DIV ID="flyimage3" STYLE="xg-p:absolute; left: -500px; width:47; height:68;">
<A HREF="sawsan.freehostingcloud.com"target="_blank"><IMG SRC="http://www.dynamicdrive.com/ballon4.gif" BORDER=0></a>
</DIV>
</body>
</html>

အနီေရာင္နဲ႔ျပထားတဲ့ေနရာမွာ ညႊန္းခ်င္တဲ့ link ေလးေတြ ျပင္ေပးေပါ့။ က်န္တာလည္း လုိသလုိျပင္ႏုိင္ပါတယ္။
အဆင္ေျပပါေစဗ်ာ။

Comments

Popular posts from this blog

Zomi: Who They Are

Zomi Total population ca. 2,500,000 Languages Various Kuki , Mizo , Chin , Naga , Paite Religion Christianity , Animism , Buddhism , Laipian Related ethnic groups Naga , Meitei , Hmar , Mizo , Kuki Zomi [1] is the name of a major tribe found in various parts of South and South East Asia. The term Zomi meaning, Zo People [2] is derived from the generic name 'Zo', the progenitor of the Zomi. They are found in northwestern Myanmar, northeastern India and Bangladesh. Anthropologists classify them as Tibeto-Burman speaking member of the Mongoloid race. In the past they were little known by this racial nomenclature. They were known by the non-tribal plain peoples of Myanmar, Bangladesh and India as Chin, Kuki, or Lushai. Subsequently the British employed these terms to christen those 'wild hill tribes' living in the "un-admiral. They are Zomi not because they live in the highlands or hills, but are Zomi and call the...

CHIN, ZOMI, MIZO, ZO cihtawh kisai Debate

CHIN, ZOMI, MIZO, ZO cih minvai tawh kisai India gam aom ih mipihte kikupna, Debate bawlna hi. Sausimsim in alunglut velvelte bekin atawpdong simzo bekding hi. This is the outcome of the debate about our nomenclatures like Chin-Kuki-Mizo-Zomi on FaceBook – Zolengthe Group. The debate Vaphual shows that every one of us clearly know who we are – We are Zo, but some opined that Kuki nomenclature should be used as it is recognised nationaly and internationally. This is the starting point of the debate: Dear friends, MIZO=ZOMI, then is it something like both side of a coin? If it is so, then there is no chance of sitting under one administrative umbrella. Another Point: Mizo or Zomi ~ Which one should be the right word? I know You will say both. But according to Pu T. Gougin, Founder President of Zomi National Congress, “The land come first and then the people” therefore, it should be Zo… Mi….. that means Zo = Land and Mi = People. He further argued that MIZO is a wrong word; ...

Zawgyi KeyBoard Installer For Windows 7

Zawgyi Font for Bit 64 1. Firstly, install the file. The File is Zawgyi Font for Windows 7 . 2. Download this software, its a keyboard for  Zawgyi. 3. Go to "Text Services and Input Language" in Control Panel >>Fonts; and Select "Zawgyi Myanmar Unicode L" Then all will be ok! If you still have some problems on Bit 64, you can run Alpha Zawgyi and then, run the given file from Mediafire . That is "ZawGyil_amd64.msi, ZawGyil_i386.msi and ZawGyi_ia64.msi". Among all these three, you can choose whatever u wanna install, which of them is ok, that means you run one ".msi" file from the downloaded file. It will solve your problems. If you still have problem on installing Zawgyi keyboard on Windows 7, You add this IEZawgyiGtalkFont . Download this and run it. There will be ok! Zawgyi Keyboard Installer for Bit 32. Zawgyi Keyboard Installer for Bit 32 is to run Alphazawgyi only. If you run Alpha Zawgyi , everything is ok.