Under Maintenance

please check later

×

Under Maintenance

please check later

×

cara membuat iklan pop up ke 2

mungkin saya pernah posting tutorial ini, di "membuat iklan dengan pop up" tapi ini lain gan..! ini lebih keren pokoknya..!
kayak pop up saya tuh,....!
gak pake lama-lama neah........!
langsung aja gan


<script type="text/javascript">
/*
This script was developed by Satheesh and published on http://www.tutorials2learn.com
You are free to use it. You may modify it or customize it.
If you use it Please leave this comment without any change.
visit http://www.tutorials2learn.com

*/
var Loop_instance =0;

function alternateBorderColor(maxLoop)
{
Loop_instance ++;
var popUpObj = document.getElementById('popUpLayer');

if(Loop_instance % 2 == 0){

popUpObj.style.border = "5px solid #000000";
}else{
popUpObj.style.border = "5px solid #FFFFFF";

}
if(Loop_instance<maxLoop){
ShowPopUp(maxLoop);
}
}

function ShowPopUp(flickNum){

var popUpObj = document.getElementById('popUpLayer');
popUpObj.style.display="block";
flicktimes =flickNum;

setTimeout('alternateBorderColor(flicktimes);',50)
}
function ClosePopUp(){
var popUpObj = document.getElementById('popUpLayer');
popUpObj.style.display="none";

}

</script>









<center><div id="popUpLayer" style="width:457px; height:310px;position:absolute; left:250px; top:210px; z-index:1000; display:none; background:#FFFF00; " onmouseover="this.style.border = '5px solid #FFFFFF';" onmouseout="this.style.border = '5px solid #000000';">
<div style="text-align:right; "><b><a href="#" onclick="ClosePopUp();" style="font-family:verdana;font-size:14px;color:#000000; text-decoration:none;"> CLOSE X </a></b></div>
<div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnPPIlVs6yZc6SxBY2mLPvrGLkBcjrlVu3SWSWemzUXrTuAiu31fgfsWh3Wd3CyGzrEvINFLwLhmpxhHA7zq6yheUd5334sNnD9rmZTP9hr9-bhaIq1gskZHmQ1cifseod7L0FYXp595I/s1600/hallo.gif" width="457" height="290" /></div>
</div></center>

<script type="text/javascript">
//specify the flickering Number instead of "30" below.
ShowPopUp(30);
</script>


yang tulisan bewarna merah itu link gambar bisa kamu ganti dengan iklan mu

Komentar :

ada 0 comments ke “cara membuat iklan pop up ke 2”

Posting Komentar