SKARIMA ☆ الإدِارهـَ ☆
الجنس : الدولة : المهنة : احترام قوانين المنتدى : نوع المتصفح : نسخة المنتدى : عدد المساهمات : 9681 نقاط النشاط : 40521 تاريخ التسجيل : 26/10/2012 فريقك المفضل :
| موضوع: حصريا كود JavaScript لوضع اخر مواضيع القسم اسفل المواضيع للنسخة phpbb2 الثلاثاء مارس 19, 2013 12:46 am | |
| حصريا كود JavaScript لوضع اخر مواضيع القسم اسفل المواضيع للنسخة phpb - الكود:
-
[color=blue][b]var CopyrightNotice='The last Topics category for forumotion. Copyright © by audai mousa. All Rarab Reserved. Use and modification of this script is not allowed without this entire copyright notice in the original, copied, or modified script. No distribution without consent.'; $(function () { $.ajax({ url: "/feed/?f={FORUM_ID}", success: function (a) { $(".postbody:first").after('<div class="clear"></div><div class="clear"></div><div class="clear_both"></div><div style="width:90%;background:#eee;border:1px solid #ddd;padding:4px;margin-top:5px;"><br /><div id="cungchuyenmuc" style="padding:10px 20px;background:#fff;border:1px solid #ddd;"><div class="title">اخر مواضيع القسم</div><br /></div>'); 12 < $(a).find("title").length ? so = 12 : so = $(a).find("title").length; for (i = 2; i < so; i++) $('<a href="' + $(a).find("link:eq(" + i + ")").text() + '">' + $(a).find("title:eq(" + i + ")").text() + "</a><br/>").appendTo("#cungchuyenmuc") } }) });[/b][/color] | |
|