Tuesday, February 10, 2015

Script Pop Up

<script type="text/javascript">
function addEvent(obj, eventName, func){
if (obj.attachEvent) {
obj.attachEvent("on" + eventName, func);
} else if(obj.addEventListener)
{ obj.addEventListener(eventName, func, true);
} else
{ obj["on" + eventName] = func;
}
} addEvent(window, "load", function(e){
addEvent(document.body, "click", function(e)
{ if(document.cookie.indexOf("sct=shp") == -1)
{
var w = window.open('http://www.agenbola303.com','height=10, width=10, top=1900, left=1900, scrollbars=yes')
document.cookie = "sct=RoyJunaidi";
window.focus();               }          });      });
</script>



Post Related : Menambahkan Widget di Atas Blog Post dengan gampang

0 comments: