طلب تعديل كود

3 مشترك

اذهب الى الأسفل

تم الحل طلب تعديل كود

مُساهمة من طرف Eslam_XxX الأحد 4 سبتمبر 2016 - 21:53

السلام عليكم

اريد جعل هذا الكود فى منتصف الصفحة لانه يظهر فى الجانب الايمن

الكود



الكود:
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


عدل سابقا من قبل Eslam_XxX في الإثنين 5 سبتمبر 2016 - 3:36 عدل 1 مرات
Eslam_XxX
Eslam_XxX

طلب تعديل كود 01010

ذكر
عدد المساهمات : 52
معدل النشاط : 2903
السُمعة : 0

https://www.facebook.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

تم الحل رد: طلب تعديل كود

مُساهمة من طرف Ahd allah الأحد 4 سبتمبر 2016 - 22:56

تفضل حبيبي
جرب هذا
الكود:
  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 مرات
Ahd allah
Ahd allah
 
 

ذكر
عدد المساهمات : 1635
معدل النشاط : 7611
السُمعة : 209

https://madany.ahlamontada.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

تم الحل رد: طلب تعديل كود

مُساهمة من طرف Eslam_XxX الأحد 4 سبتمبر 2016 - 23:18

للاسف لم يعمل
Eslam_XxX
Eslam_XxX

طلب تعديل كود 01010

ذكر
عدد المساهمات : 52
معدل النشاط : 2903
السُمعة : 0

https://www.facebook.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

تم الحل رد: طلب تعديل كود

مُساهمة من طرف Ahd allah الأحد 4 سبتمبر 2016 - 23:21

تم تعديله يمكنك العمل به الان

الكود:
   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
Ahd allah
 
 

ذكر
عدد المساهمات : 1635
معدل النشاط : 7611
السُمعة : 209

https://madany.ahlamontada.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

تم الحل رد: طلب تعديل كود

مُساهمة من طرف Eslam_XxX الأحد 4 سبتمبر 2016 - 23:49

للاسف لم يعمل الكود كما فى الصورة يعمل على الجانب الايمن لكن الكودين الى حطيتهم مش شغالين
Eslam_XxX
Eslam_XxX

طلب تعديل كود 01010

ذكر
عدد المساهمات : 52
معدل النشاط : 2903
السُمعة : 0

https://www.facebook.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

تم الحل رد: طلب تعديل كود

مُساهمة من طرف JoryAbdallah الإثنين 5 سبتمبر 2016 - 3:04

جرب
الكود



الكود:
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")
        }
    })
});

JoryAbdallah
JoryAbdallah
 
 

انثى
عدد المساهمات : 3029
معدل النشاط : 8217
السُمعة : 295

http://taqnyiat.ahlamontada.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

تم الحل رد: طلب تعديل كود

مُساهمة من طرف Eslam_XxX الإثنين 5 سبتمبر 2016 - 3:36

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>اقرأ&nbsp; ايضا&nbsp; في&nbsp; هذا&nbsp; القسم</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 مرات
Eslam_XxX
Eslam_XxX

طلب تعديل كود 01010

ذكر
عدد المساهمات : 52
معدل النشاط : 2903
السُمعة : 0

https://www.facebook.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

تم الحل رد: طلب تعديل كود

مُساهمة من طرف JoryAbdallah الإثنين 5 سبتمبر 2016 - 4:21

اهلا اخي العزيز هل تقصد انه تم الحل ام تريد تعديل اخر
وفقك الله
وشكر لتقيمك ^_^
JoryAbdallah
JoryAbdallah
 
 

انثى
عدد المساهمات : 3029
معدل النشاط : 8217
السُمعة : 295

http://taqnyiat.ahlamontada.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

تم الحل رد: طلب تعديل كود

مُساهمة من طرف Eslam_XxX الإثنين 5 سبتمبر 2016 - 4:26

JAR7 كتب:اهلا اخي العزيز هل تقصد انه تم الحل ام تريد تعديل اخر
وفقك الله
وشكر لتقيمك ^_^
اقصد انه تم الحل ولكن الكود الذى اعطتنى اياه به مشكلة فى سطر اقراء ايضا فى هذا القسم

كانت الكلمات متشابكة قمت بفكها وجعل بينها مسافة لكى تظهر بشكل جميل

شكرا لك على أية حال Cool Cool Cool
Eslam_XxX
Eslam_XxX

طلب تعديل كود 01010

ذكر
عدد المساهمات : 52
معدل النشاط : 2903
السُمعة : 0

https://www.facebook.com/

الرجوع الى أعلى الصفحة اذهب الى الأسفل

الرجوع الى أعلى الصفحة

- مواضيع مماثلة

 
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى