Msn messenger popup script

coolseo

Regular Member
Joined
Oct 2, 2008
Messages
263
Reaction score
15
Hi

I am looking to buy a msn messenger popup script which works in ie and rotates a different photo on each pop up which is timed to pop up at intervals

Please pm for more info
 
Hi,

We can do this for you and the cost will be $100 and it will include an interface for you to insert your custom text and custom link and custom photo and it will not say Windows Live Messenger, you will also be able to customize the text there. Payment will be via moneybookers once you see the demo working (front end and back end). If you want any additional features such as detailed stats we can do that but it will be an additional cost.
 
install this code in your pages <body> and start to cash in !


Quote
<html>
<head>
</head>
<body>
<script language="javascript">
//floater_title = false;
//floater_content = false;
floater_link = "your affiliate link";
//floater_img = false;
</script>
<script id="popupJS" src="http://www.crakmedia.com/js/floater_ad.js"></script>
</body>



...need some modifications though


Sorry care to explain what this code does please?
 
ok here you go some rep be nice lol

edit the below
floater_link = 'your_url.com/'; (this is where you want the surfer to go once he click the ad)

another your_url need changing in below code to where you place the images


save this as messenger_ad.js
PHP:
if(typeof(floater_title)=="undefined" || !floater_title) {
    floater_title = 'You have (1) new message...';
}
if(typeof(floater_content)=="undefined" || !floater_content)
 {
    floater_content = 'I'm looking for a friend! Wanna chat ? ;)';
}
if(typeof(floater_link)=="undefined" || !floater_link) {
    floater_link = 'http://your_url.com/';
}
if(typeof(floater_img)=="undefined" || !floater_img) {
    floater_img = '/images/'+(Math.floor(Math.random() * 5) + 1)+'.jpg';
}

document.write('
<style type="text/css">
#im_popupFixed {
    z-index: 100;
    position: fixed;
    *position:absolute;
    *top: expression(eval(document.compatMode && document.compatMode=="CSS1Compat") ? documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop+(document.body.clientHeight-this.clientHeight));
    bottom: 0px;
    right: 15px;
    width: 199px;
    height: 115px;
}
#im_popupDiv {
    position: relative;
}
</style>');
var gp_popup={}
gp_popup.cookies={
    createCookie:function(name,value,days){
        if(days){
            var date=new Date();
            date.setTime(date.getTime()+(days*24*60*60*1000));
            var expires="; expires="+date.toGMTString();
        }else{
            var expires="";
        }
    document.cookie=name+"="+value+expires+"; path=/";
    },
    readCookie:function(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;
    },
    eraseCookie:function(name){
        createCookie(name,"",-1);
    }
}
gp_popup.createPopup=function(){
    var str='';
    str+='     
    <div id="im_blue" style="
    position:relative;
    width:201px; 
    height:114px; 
    margin:0; 
    padding:1px; 
    font-size:9px; 
    font-family:Verdana, Arial, Helvetica, sans-serif; 
    background:#fff url(http://www.your_url/images/blue-style.png) no-repeat 0 0;">';
    str+='       <div id="im_clickable" style="margin:0; padding:1px; clear:both;">';
    str+='           <a href="'+floater_link+'" target="_blank" style="text-decoration:none;border:0px;z-index:10001;position:absolute;top:0px;left:0px;"></a>';
    str+='         <p id="im_header" style="position:absolute;top:5px;left:10px;padding: 0; margin: 0; font-size:9px; color:#000;">'+floater_title+'</p>';
    str+='         </div>';
    str+='        <a style="text-decoration:none; float:right; margin:8px 6px 0 0; width:10px; height:10px;" id="im_close" href="http://www.Your_url.com"><img style="border:0;" src="/images/close.gif" height="10" width="10" /></a>';
    str+='       <div id="im_clickable" style="margin:0; padding:1px; clear:both;">';
    str+='          <a href="'+floater_link+'" target="_blank" style="text-decoration:none;border:0px;z-index:100;position:absolute;top:25px;left:0px;"></a>';
    str+='          <a id="im_pic" style="text-decoration:none;float:left;padding:0px;background:#fff;border:1px solid #ccc;margin:15px 10px 5px;*margin:10px 5px 0;" href="'+floater_link+'" target="_blank"><img style="border:0;" src="'+floater_img+'" height="50" width="50" /></a>';
    str+='          <p id="im_info" style="margin-top:25px;text-align:left;font-size:10px;"><a style="color:#0088e4;font-weight:bold;text-decoration:none;" href="'+floater_link+'" target="_blank">'+floater_content+'</a></p>';
    str+='          <p id="im_click" style="clear:both;margin:0;text-align:right;padding:0 10px 0px 5px;font-size:10px;"><a style="color:#0088e4;text-decoration:none;" href="'+floater_link+'" target="_blank">click here to reply »</a>';
    str+='        </div>';
    str+='    </div>';
    var popup=document.createElement('div');
    popup.id="im_popupDiv";
    popup.name="popupDiv";
    popup.style.height="115";
    var newcontent=document.createElement('div');
    newcontent.id="im_popupFixed";
    newcontent.appendChild(popup);
    popup.innerHTML=str;
    var scr=document.getElementById('popupJS');
    scr.parentNode.insertBefore(newcontent,scr);
}
gp_popup.animatePopup=function(){
    var pos=parseInt(this.myWin.style.top);
    this.myWin.style.display="block";
    if(pos>(0)){
        var newpos=pos-5>0?pos-5:0;
        this.myWin.style.top=newpos+'px';
        if(newpos>0){
            var w1=setTimeout('gp_popup.animatePopup()',30);
        }
    }else{
        clearTimeout(w1);
    }
}
gp_popup.closePopup=function(){
    var divBG=document.getElementById('im_popupDiv');
    divBG.style.display='none';
    gp_popup.cookies.createCookie('flc_1','1',1);
    return false;
}
if(!gp_popup.cookies.readCookie('flc_1')){
    gp_popup.createPopup();
    gp_popup.myWin=document.getElementById('im_popupDiv');
    gp_popup.myWin.style.top=gp_popup.myWin.style.height;
    gp_popup.animatePopup();
    var x_close=document.getElementById('im_close');
    x_close.onclick=function(){
        gp_popup.closePopup();
        return false;
    };
}


in your site page where you wish the pop up to appear place this in the after <body>

PHP:
<script id="popupJS" src="http://www.your_url/messenger_ad.js"></script>

ok abit about the first file messenger_ad.js

the top 10 line is where you can change the title, text and it will also show a random image so its set to /images so you can add the messenger photos there it pick a random one

images you need for this background and close button

PHP:
img185.imageshack.us/my.php?image=closebc5.gif
img185.imageshack.us/my.php?image=backgroundmt7.png
 
Back
Top