شنبه 31 مرداد 1388, 1:12 بعدازظهر
من میخوام توی کد قالب بلاگفام یه کاری بکنم که وقتی روی قسمت نظرات هر پست کلیک بشه لینک ثابت اون پست برام نشون بده .
فک کنم هر کاری بخواد باشه باید روی این قسمت انجام بشه منم اون قسمت از کد قالبو برات می ذارم .
فک کنم هر کاری بخواد باشه باید روی این قسمت انجام بشه منم اون قسمت از کد قالبو برات می ذارم .
<script language="javascript">
function GetBC(lngPostid)
{
intTimeZone=<-BlogTimeZone->;
strBlogId="<-BlogId->";
intCount=-1;
strResult="";
try {
for (i=0;i<BlogComments.length;i+=2)
{
if (BlogComments[i]==lngPostid)
intCount=BlogComments[i+1] ;
}
} catch( e) {
}
if ( intCount==-1) strResult="آرشيو نظرات";
if ( intCount==0) strResult="نظر بدهيد";
if ( intCount>0) strResult=intCount + " نظر" ;
strUrl="http://commenting.blogfa.com/?blogid=" +strBlogId + "&postid=" + lngPostid + "&timezone=" + intTimeZone ;
strResult ="<a href=\"jvoid(0)\" onclick=\"jwindow.open('" + strUrl + "','blogfa_comments','status=yes,scrollba rs=yes,toolbar=no,menubar=no,location=no ,width=500px,height=500px')\" >" + strResult + " </a>" ;
document.write ( strResult ) ;
}
function OpenLD()
{
window.open('LinkDump.aspx','blogfa_ld','status=yes,scrollbars =yes,toolbar=no,menubar=no,location=no ,width=500px,height=500px');
return true;
}
</script>
ممنون میشم اگه کمکم کنید، اینم کل قالب: [ جهت مشاهده لينك عضو شويد ! ]