طلب تعديل كود
3 مشترك
منتدى الدعم و المساعدة لأحلى المنتديات :: منتدى الدعم والمساعدة :: قسم المشاكل الأخرى :: أرشيف قسم "المشاكل الأخرى"
صفحة 1 من اصل 1
طلب تعديل كود
السلام عليكم
اريد جعل هذا الكود فى منتصف الصفحة لانه يظهر فى الجانب الايمن
الكود
دة شكل الكود داخل الموضوع
عاوزه فى نص الصفحة
![طلب تعديل كود 1g0zo3](https://2img.net/h/oi68.tinypic.com/1g0zo3.png)
اريد جعل هذا الكود فى منتصف الصفحة لانه يظهر فى الجانب الايمن
الكود
- الكود:
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:#fffeee;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")
}
})
});
دة شكل الكود داخل الموضوع
عاوزه فى نص الصفحة
![طلب تعديل كود 1g0zo3](https://2img.net/h/oi68.tinypic.com/1g0zo3.png)
عدل سابقا من قبل Eslam_XxX في الإثنين 5 سبتمبر 2016 - 3:36 عدل 1 مرات
رد: طلب تعديل كود
تفضل حبيبي
جرب هذا
جرب هذا
- الكود:
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 align="center">
<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:#fffeee;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") } }) });
</div>
</div>
عدل سابقا من قبل ahd allah في الأحد 4 سبتمبر 2016 - 23:20 عدل 1 مرات
رد: طلب تعديل كود
تم تعديله يمكنك العمل به الان
- الكود:
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 align="center">
<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:#fffeee;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") }
}) });
</div>
</div>
رد: طلب تعديل كود
للاسف لم يعمل الكود كما فى الصورة يعمل على الجانب الايمن لكن الكودين الى حطيتهم مش شغالين
رد: طلب تعديل كود
جرب
الكود
الكود
- الكود:
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; text-align:center; flat:none ; border:1px solid
#ddd;padding:4px;margin:auto ;"><br /><div
id="cungchuyenmuc" style="padding:10px
20px;background:#fffeee;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")
}
})
});
رد: طلب تعديل كود
متشكر جداJAR7 كتب:جرب
الكود
- الكود:
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; text-align:center; flat:none ; border:1px solid
#ddd;padding:4px;margin:auto ;"><br /><div
id="cungchuyenmuc" style="padding:10px
20px;background:#fffeee;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")
}
})
});
ودة نفس الكود بس بعد ماعدلة جملة " اقرأ ايضا فى هذا القسم " لانها كانت متشابكة
- الكود:
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; text-align:center; flat:none ; border:1px solid
#ddd;padding:4px;margin:auto ;"><br /><div
id="cungchuyenmuc" style="padding:10px
20px;background:#fffeee;border:1px solid #ddd;"><div
class="title"> <b>اقرأ ايضا في هذا القسم</b></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")
}
})
});
عدل سابقا من قبل Eslam_XxX في الإثنين 5 سبتمبر 2016 - 4:24 عدل 1 مرات
رد: طلب تعديل كود
اقصد انه تم الحل ولكن الكود الذى اعطتنى اياه به مشكلة فى سطر اقراء ايضا فى هذا القسمJAR7 كتب:اهلا اخي العزيز هل تقصد انه تم الحل ام تريد تعديل اخر
وفقك الله
وشكر لتقيمك ^_^
كانت الكلمات متشابكة قمت بفكها وجعل بينها مسافة لكى تظهر بشكل جميل
شكرا لك على أية حال
![Cool](/users/1811/68/54/94/smiles/103798.gif)
![Cool](/users/1811/68/54/94/smiles/103798.gif)
![Cool](/users/1811/68/54/94/smiles/103798.gif)
![-](https://i.servimg.com/u/f37/19/43/18/14/tabs_l11.gif)
» مشكلة عند تعديل احد المواضيع لايظهر في اسفل المنتدى انه تم تعديل الموضوع بتاريخ كذا ..
» تعديل على كود
» طلب تعديل كود
» تعديل على كود
» تعديل كود
» تعديل على كود
» طلب تعديل كود
» تعديل على كود
» تعديل كود
منتدى الدعم و المساعدة لأحلى المنتديات :: منتدى الدعم والمساعدة :: قسم المشاكل الأخرى :: أرشيف قسم "المشاكل الأخرى"
صفحة 1 من اصل 1
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى