criar código para parceria pop-up


site para hospedar java script: your javascript 
códigos:

1ºcódigo:
var qburl = "link do seu site";var jaClicou = false;var vlrCookie = readCookie("qbpopunder");if(vlrCookie == null){        for(i=0;i<document.links.length;i++) {                var bf_a=document.links[i];                bool = bf_a.onclick ? true : false;                                        bf_a.onclick = function() {                          if(!jaClicou){                                createCookie("qbpopunder","1","link do seu site",30);                                qb_newwin= window.open(qburl,'qbpopunder','toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes');                                jaClicou = true;                                qb_newwin.blur();                                window.focus();                                }                                return true;                        };        }}function createCookie(name, value, domainName, days) {        if (days) {                var date = new Date();                date.setTime(date.getTime() + (days*24*60*60*1000));                var expires = "; expires=" + date.toGMTString();                var domain = "; domain=" + domainName;        }        else var expires = "";        document.cookie = name + "=" + value + expires + domain + "; path=/";}function readCookie(name) {        var nameEQ = name + "=";        var ca = document.cookie.split(';');        for(var i=0;i < ca.length;i++) {                var c = ca[i];                while (c.charAt(0)==' ') c = c.substring(1,c.length);                if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);        }        return null;}function eraseCookie(name) {        createCookie(name, "", -1);}








código:

<div align='center'>
<textarea cols="10" name="textarea" onfocus="this.select()" onmouseover="this.focus()" rows="3" style="background-color: white; border: 1px solid rgb(0, 0, 0); font-family: verdana; font-size: 8pt;">código javascript</textarea>
</div>

0 comentários:

Related Posts with Thumbnails