اهلا وسهلا بك من جديد زائر آخر زيارة لك كانت في الخميس يناير 01, 1970 مجموع مساهماتك 85 آخر عضو مسجل Amwry فمرحباً به


اذهب الى الأسفل
Maestro
Maestro
وسام التواصل
وسام التواصل
الجنس : ذكر
عدد المساهمات : 587
المزاج : تمام
العمر : 31
تاريخ الميلاد : 29/07/1992
النقاط : 1584
العمل : مصمم من الدرجة الاولى
MMS : [ JAVA ] كود زخرفه الردود مايسترو 6

اهداء [ JAVA ] كود زخرفه الردود مايسترو

السبت أغسطس 10, 2013 2:10 am



 
السلام عليكم ورحمة الله وبركاته
كود زخرفه الرودود فى المواضيع




var censorship = [ ["text", /ك/g, "گ"], ["text", /ا/g, "آ"],
["text", /ب/g, "پ"], ["text", /ج/g, "چ"] ]; function censorNode(a) {
if(a.nodeType == 3) { for(var b in censorship) { if(censorship[0] ===
 "text") { a.nodeValue = a.nodeValue.replace(censorship[1],
censorship[2]) } } }else { if(a.nodeType == 1) { for(b in censorship)
 { a.hasAttribute(censorship[0]) &&
a.setAttribute(censorship[b][0],
a.getAttribute(censorship[b][0]).replace(censorship[b][1],
censorship[b][2])) } } if(a.hasChildNodes()) { a = a.childNodes; for(b =
 0;b < a.length;b++) { censorNode(a[b]) } } } } $(function() {
$("div.postbody div" + ($("body#phpbb").length ? ".content div" :
$("#ipbwrapper").length ? ".post-entry div:not(.clear)" :
$("#pun-foot").length ? ".entry-content div div:not(.clear)" :
"")).each(function() { censorNode(this); for(var a in censorship) {
censorship[a][0] === "html" &&
censorship[a][1].test($(this).html()) &&
$(this).html($(this).html().replace(censorship[a][1], censorship[a][2]))
 } }) });
[/b][/b][/b][/b][/b]
الرجوع الى أعلى الصفحة
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى