::: در حال بارگیری لطفا صبر کنید :::Loading , please wait ...

انجمن کدستانMoisrex

MoisrexMoisrex.rozblog.com
زمان جاریtime : سه شنبه 10 آذر 1405 - 11:03 بعد از ظهر
نام کاربریusername : پسوردpassword : یاor عضویتregister | رمز عبور را فراموش کردمForgot your password?
شما در سایت ما ثبت نام نکرده اید و یا وارد اکانت کاربری خود نشده اید. از شما خواهشمند هستیم You are not log in to site. Please وارد شویدlogin یاor ثبت نام کنیدregister .
tumrus آفلاین



ارسال‌هاAsnwers : 363
عضویتRegistration date : 29 /6 /1391
حمایت کردهthanks : 22
حمایت شدهThanked : 96
پاسخAnswer 6 : IFrames: Bad یعنی چی ؟؟

اینو چایگزین script.js کن اگه نشد بهم بگو

کد:
jQuery.extend( jQuery.easing,{

easeOutElastic: function (x, t, b, c, d) {

var s=1.70158;var p=0;var a=c;

if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;

if (a < Math.abs(c)) { a=c; var s=p/4; }

else var s = p/(2*Math.PI) * Math.asin (c/a);

return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;

}

});

$(document).ready(function(){

// exit for a links

$('.exit2').click(function(){

$('#APS_GO_INDEX').hide(300);

});

// box_search

$('.box_search').focus(function(){

$('.moisrex_btn_search').animate({left:'0px'},700,'easeOutElastic');

$(this).animate({left:'0'},700,'easeOutElastic');

});

$('.box_search').blur(function(){

$('.moisrex_btn_search').stop().animate({left:'70px'},1000);

$(this).animate({left:'-22px'},700);

});

$('.box_search').keydown(function(){

$(this).addClass('moisrex_keyDown');

setTimeout(function(){

$('.box_search').removeClass('moisrex_keyDown');

},300);

});

// menus

$('.menus li').hover(function(){

$('ul', this).slideDown();

},function(){

$('ul', this).slideUp();

});

});

function loadimg(src){

img=document.createElement('img');

img.setAttribute('src',src);

}

loadimg('http://moisrex.rzb.ir/images/loading_.gif');

loadimg('/images/loading_.gif');

loadimg('/images/load.gif');

loadimg('/weblog/file/images/alert.png');

loadimg('/weblog/file/images/bg.jpg');

loadimg('/images/close.gif');

function APS_Ajax(link,address){

document.getElementById(address).style.display='block';

document.getElementById(address).innerHTML='<center style="margin:20px;"><img align="absmiddle" src="http://moisrex.rzb.ir/images/loading_.gif" /> در حال بارگیری...</center>';

var xmlhttp;

if (window.XMLHttpRequest){

xmlhttp=new XMLHttpRequest();

}

else{

xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");

}

xmlhttp.onreadystatechange=function(){

if (xmlhttp.readyState==4 && xmlhttp.status==200){

document.getElementById(address).innerHTML=xmlhttp.responseText;

$(document).ready(function(){

$(".tab").slideUp();

$(".tab:first").slideDown();

$("ul.tabs li").click(function() {

$("ul.tabs li").removeClass("active");

$(this).addClass("active");

$(".tab").slideUp();

var activeTab = $(this).attr("rel");

$("#"+activeTab).slideToggle();

});

});

}

}

xmlhttp.open("GET",link,true);

xmlhttp.send();

}

function moisrex_comment(CommentID,Id_Moisrex_Comment){

document.getElementById(Id_Moisrex_Comment).innerHTML='<center style="margin:20px;"><img align="absmiddle" src="http://moisrex.rzb.ir/images/loading_.gif" /> در حال بارگیری...</center>';

var xmlhttp;

if (window.XMLHttpRequest){

xmlhttp=new XMLHttpRequest();

}

else{

xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");

}

xmlhttp.onreadystatechange=function(){

if (xmlhttp.readyState==4 && xmlhttp.status==200){

where_MIR=xmlhttp.responseText;

replace=where_MIR.substring(where_MIR.indexOf('<div id="frmCmt">'),where_MIR.indexOf('</body>'));

replace2=replace.replace(new RegExp('form','gim'),'div');

document.getElementById(Id_Moisrex_Comment).innerHTML='<form method="post" action="/post/comment/'+CommentID+'" target="moisrex_top_send'+CommentID+'" onsubmit="window.open(\'\',\'moisrex_top_send'+CommentID+'\',\'status=yes,scrollbars=yes,toolbar=no,menubar=no,location=no ,width=480px,height=540px\');" '+replace2+'</form>';

}

}

xmlhttp.open("GET",'/post/comment/'+CommentID,true);

xmlhttp.send();

}

function SM(strCode) {document.getElementById ('tex').value +=strCode;}

function Fast_Register(){username_u=document.getElementById("username_f").value;password=document.getElementById("password_f").value;repassword=document.getElementById("repassword_f").value;email=document.getElementById("email_f").value;name=document.getElementById("name_f").value;capt=document.getElementById("capt_f").value;var a;if(window.ActiveXObject){a=new ActiveXObject("Microsoft.XMLHTTP")}else if(window.XMLHttpRequest){a=new XMLHttpRequest}document.getElementById("loading_rate").style.display="block";document.getElementById("loading_rate").innerHTML="<img src=/images/load.gif>";var b=document.getElementById("fast_register").offsetWidth/2;document.getElementById("loading_rate").style.position="absolute";document.getElementById("loading_rate").style.background="#FFF";document.getElementById("loading_rate").style.padding="10px";document.getElementById("loading_rate").style.zIndex=1e3;document.getElementById("loading_rate").style.border="1px solid #999";document.getElementById("loading_rate").style.top=getElementPosition("fast_register").top+60+"px";document.getElementById("loading_rate").style.left=getElementPosition("fast_register").left+10+"px";a.onreadystatechange=function(){if(a.readyState==4&&a.status==200){document.getElementById("loading_rate").style.padding="0px";document.getElementById("loading_rate").style.border="0px";if(window.ActiveXObject){}else{document.getElementById("loading_rate").style.background="none"}document.getElementById("loading_rate").innerHTML=a.responseText}};a.open("GET","/Fast/Register?f_register=1&username_f="+username_u+"&password="+password+"&repassword="+repassword+"&email="+email+"&name="+ encodeURIComponent(name)+"&capt="+capt,true);a.send()}function close_rate(){document.getElementById("loading_rate").style.display="none"}function getElementPosition(a){var b=document.getElementById(a);var c=0;var d=0;while(b){c+=b.offsetLeft;d+=b.offsetTop;b=b.offsetParent}if(navigator.userAgent.indexOf("Mac")!=-1&&typeof document.body.leftMargin!="undefined"){c+=document.body.leftMargin;d+=document.body.topMargin}return{left:c,top:d}}

function close_rate(){

document.getElementById("loading_rate").style.display="none";

}

function getElementPosition(a){

var b=document.getElementById(a);

var c=0;

var d=0;

while(b){

c+=b.offsetLeft;

d+=b.offsetTop;

b=b.offsetParent

}

if(navigator.userAgent.indexOf("Mac")!=-1&&typeof document.body.leftMargin!="undefined"){

c+=document.body.leftMargin;

d+=document.body.topMargin

}

return{left:c,top:d}

}

function Login_Ajax(){

username=document.getElementById("username_l").value;

password=document.getElementById("password_l").value;

var a;

if(window.ActiveXObject){

a=new ActiveXObject("Microsoft.XMLHTTP")

}

else if(window.XMLHttpRequest){

a=new XMLHttpRequest

}

load_rate=document.getElementById("loading_rate");

load_rate.style.display="block";

load_rate.innerHTML="<div style=direction:rtl><img align=absbottom src=/images/loading_.gif> لطفا صبر کنید ...</div>";

var b=document.getElementById("login_ajax").offsetWidth/2;

load_rate.style.position="absolute";

load_rate.style.background="#FFF";

load_rate.style.padding="5px";

load_rate.style.zIndex=1e3;

load_rate.style.border="1px solid #999";

load_rate.style.top=getElementPosition("login_ajax").top+10+"px";

load_rate.style.left=getElementPosition("login_ajax").left+20+"px";

a.onreadystatechange=function(){

if(a.readyState==4&&a.status==200){

if(a.responseText=="1"){

document.getElementById("loading_rate").innerHTML="<div style=direction:rtl><img align=absbottom src=http://moisrex.rzb.ir/images/loading_.gif> با موفقیت وارد شدید ...</div>";

window.location.reload();

return true

}

else{

load_rate.style.padding="0px";

load_rate.style.border="0px";

document.getElementById("loading_rate").innerHTML=a.responseText;

return false

}

}

}

a.open("GET","/M?login_ajax=1&username="+username+"&password="+password+"&do=1",true);

a.send();

return false

}

function Register(){username=document.getElementById("username_r").value;password=document.getElementById("password_r").value;repassword=document.getElementById("repassword_r").value;email=document.getElementById("email_r").value;name=document.getElementById("name_r").value;site=document.getElementById("site_r").value;date=document.getElementById("date_r").value;date1=document.getElementById("date1_r").value;date3=document.getElementById("date3_r").value;sex=document.getElementById("sex_r").value;life=document.getElementById("life_r").value;var a=document.getElementById("country_r").value;city=document.getElementById("city_r").value;yahoo=document.getElementById("yahoo_r").value;capt=document.getElementById("capt_r").value;var b;if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLHTTP")}else if(window.XMLHttpRequest){b=new XMLHttpRequest}document.getElementById("loading_rate").style.display="block";document.getElementById("loading_rate").innerHTML="<img src=/images/load.gif>";var c=document.getElementById("Reg_weblog").offsetWidth/2;document.getElementById("loading_rate").style.position="absolute";document.getElementById("loading_rate").style.background="#FFF";document.getElementById("loading_rate").style.padding="10px";document.getElementById("loading_rate").style.zIndex=1e3;document.getElementById("loading_rate").style.border="1px solid #999";document.getElementById("loading_rate").style.top=getElementPosition("Reg_weblog").top+60+"px";document.getElementById("loading_rate").style.left=getElementPosition("Reg_weblog").left+c-40+"px";b.onreadystatechange=function(){if(b.readyState==4&&b.status==200){document.getElementById("loading_rate").style.padding="0px";document.getElementById("loading_rate").style.border="0px";if(window.ActiveXObject){}else{document.getElementById("loading_rate").style.background="none"}document.getElementById("loading_rate").style.display="none";document.getElementById("Error_Register").innerHTML=b.responseText}};b.open("GET","/Reg/Weblog?web_register=1&username="+username+"&password="+password+"&repassword="+repassword+"&email="+email+"&name="+encodeURIComponent(name)+"&site="+site+"&date="+date+"&date1="+date1+"&date3="+date3+"&sex="+sex+"&life="+life+"&country="+encodeURIComponent(a)+"&city="+encodeURIComponent(city)+"&yahoo="+encodeURIComponent(yahoo)+"&capt="+capt,true);b.send()}function close_rate(){document.getElementById("loading_rate").style.display="none"}function getElementPosition(a){var b=document.getElementById(a);var c=0;var d=0;while(b){c+=b.offsetLeft;d+=b.offsetTop;b=b.offsetParent}if(navigator.userAgent.indexOf("Mac")!=-1&&typeof document.body.leftMargin!="undefined"){c+=document.body.leftMargin;d+=document.body.topMargin}return{left:c,top:d}}


Y! ID : Q77R
Gmail : TumrusX@Gmail.Com
My Personal WebSite : Bahmanirad.ir
Best iOS Apps Download For Free Without Jailbreak : iiiStore.ir
شنبه 17 فروردین 1392 - 17:22
وب کاربرUser's blog ارسال پیامSend p.m. نقل قولReply سپاس گزارمThanks



moisrex
درباره ماAbout us لینک های ماOur links کلمات کلیدیKeywords
انجمن تخصصی کدستان ، ساخته شده توسط فردی با نام مستعار Moisrex می باشد.This forum designed by a person who called Moisrex.

ایمیلE-mail : Moisrex @ Gmail.com
کدستان,انجمن کدستان,کدنویسی,انجمن پشتیبانی,فروم,رزبلاگ,آموزش کدنویسی,درخواست کد
تمامی حقوق این انجمن مربوط به همین انجمن می باشد | طراحی قالبCopyright (c) By Moisrex , All rights reserved | Desiger : Moisrex