<script language="javascript" type="text/javascript"> (function(a){a.fn.popup=function(t){var v={starttime:0,selfclose:0,popup_div:"dle_popup",overlay_div:"popup_overlay",close_id:"popup_close",overlay:false,opacity_level:0.7,overlay_cc:true,centered:true,top:130,setcookie:false,cookie_name:"dle_popup",cookie_timeout:0,floating:true,floating_reaction:700,floating_speed:12,fly_in:true,fly_from:"top",popup_appear:"show",popup_appear_time:""};if(t){a.extend(v,t)}var i;var q=0;var h;var c;var n;var u;var j;var o;var b="";var f;var m=a("#"+v.popup_div);var d=a("#"+v.overlay_div);this.each(function(){f=a(this);a(this).hide()});if(v.starttime==0){setTimeout(g,250)}else{setTimeout(g,(v.starttime*1000))}return this;function g(){l();b=f.html();if(v.setcookie){if(s(v.cookie_name)){return false}}if(v.overlay){a("body").prepend('<div id="'+v.overlay_div+'"></div>');d=a("#"+v.overlay_div);d.css({opacity:v.opacity_level});if(v.overlay_cc){d.click(function(){l()})}isIE=a.browser.msie&&!a.support.opacity;isIE6=isIE&&a.browser.version<7;if(isIE6){a(window).bind("resize scroll",function(){d.css({width:a(window).width(),height:a(window).height(),top:a(window).scrollTop(),left:a(window).scrollLeft()})}).trigger("scroll")}}a("body").prepend('<div id="'+v.popup_div+'">'+b+"</div>");m=a("#"+v.popup_div);if(v.centered){v.top=(a(window).height()-m.outerHeight())/2}v.top=Math.round(v.top);var x=a(window).scrollTop();var w=(a(window).width()-m.outerWidth())/2;if(v.fly_in&&v.floating){switch(v.fly_from){case"top-left":m.css("top",(-m.outerHeight()+x)+"px");m.css("left",-m.outerWidth());break;case"top-right":m.css("top",(-m.outerHeight()+x)+"px");m.css("right",-m.outerWidth());break;case"left":m.css("top",(v.top+x)+"px");m.css("left",-m.outerWidth());break;case"right":m.css("top",(v.top+x)+"px");m.css("right",-m.outerWidth());break;case"bottom":m.css("top",(a(window).height()+a(document).scrollTop())+"px");m.css({left:Math.round(w)});break;case"bottom-left":m.css("top",(a(window).height()+x)+"px");m.css("left",-m.outerWidth());break;case"bottom-right":m.css("top",(a(window).height()+x)+"px");m.css("right",-m.outerWidth());break;default:m.css("top",(-m.outerHeight()+x)+"px");m.css({left:Math.round(w)})}}else{m.css({left:Math.round(w)});m.css("top",(v.top+x)+"px")}a("#"+v.close_id).click(function(){l();return false});if(v.floating){p()}switch(v.popup_appear){case"fadeIn":m.fadeIn(v.popup_appear_time);break;case"slideDown":m.slideDown(v.popup_appear_time);break;default:m.show(v.popup_appear_time);break}a(window).resize(function(){if(!v.floating){var z=(a(window).width()-m.width())/2;m.css({left:z});if(v.centered){var A=a(window).scrollTop();var y=Math.round((a(window).height()-m.outerHeight())/2);m.css({top:(y+A)});v.top=y}}else{if(v.centered){var y=Math.round((a(window).height()-m.outerHeight())/2);v.top=y}}});if(v.selfclose!=0){setTimeout(l,(v.selfclose*1000))}if(v.setcookie){k(v.cookie_name,"1",v.cookie_timeout)}}function l(){m.remove();if(v.overlay){d.remove()}if(v.floating){clearInterval(i);clearTimeout(q)}}function p(){setTimeout(e,10);i=setInterval(e,v.floating_reaction)}function e(){h=Math.round(a(window).scrollTop()+v.top);c=Math.round((a(window).width()-m.outerWidth())/2);offset=m.offset();n=offset.top;u=offset.left;if((n!=h||u!=c)&&q==0){r()}}function r(){n=Math.round((v.floating_speed*n+h)/(v.floating_speed+1));previous_position_left=u;u=Math.round((v.floating_speed*u+c)/(v.floating_speed+1));if(n!=j||u!=o){m.css("top",Math.round(n)+"px");m.css("left",Math.round(u)+"px");q=setTimeout(r,20);j=n;o=u}else{if(n!=h||u!=c){j=n;o=u;if(n>h){n=n-1}else{if(n<h){n=n+1}}if(u>c){u=u-1}else{if(u<c){u=u+1}}q=setTimeout(r,20)}else{j=n=h;o=u=c;m.css("top",Math.round(h)+"px");m.css("left",Math.round(c)+"px");q=0}}}function k(x,y,w){var z=new Date();if(w==0){w=null}z.setDate(z.getDate()+w);document.cookie=x+"="+escape(y)+((w==null)?"":";expires="+z.toGMTString())}function s(w){if(document.cookie.length>0){c_start=document.cookie.indexOf(w+"=");if(c_start!=-1){c_start=c_start+w.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1){c_end=document.cookie.length}return unescape(document.cookie.substring(c_start,c_end))}}return""}}})(jQuery); </script>
merhaba, üstte ki kod footer da , bunu kaldır, rahat gireceksin kesinlikle.