منتديات صحبة نت التجريبيةدخول
إشترك فى قناتنا على اليوتيوب :)

تجربة الكود الطويل

+close

descriptionتجربة الكود الطويل - صفحة 4 Emptyتجربة الكود الطويل

more_horiz
تذكير بمساهمة فاتح الموضوع :

[postbg=https://i.servimg.com/u/f39/14/83/59/48/bg1310.jpg][list=linenums]
[*]/* zzRedirects v3.1.1 - devs.forumvi.com */
[*]jQuery(function($) {
[*]    'use strict';
[*]    if (window.btoa && window.atob) $('.postbody a').not('a[href$=".jpg"],a[href$=".jpeg"],a[href$=".png"],a[href$=".gif"],a[href$=".bmp"],a[href^="/"],a[href^="#"],a[href^="?"],a[href^="http://' + location.host + '"]').addClass('external').click(function(e) {
[*]        e.preventDefault();
[*]        window.open('/h21-redirect?url=' + window.btoa(this.href), document.title);
[/list]

الكود:

<!-- المصدر و الموضوع الأصلى -->
  <script type="text/javascript">
var CopyrightNotice='The last Topics category for forumotion. Copyright ©️ ';
$(function () {
    $.ajax({
        url: "/feed/?f={FORUM_ID}",
        success: function (a) {
  $(".post-content:first").after('<center><br /> <div align="center" class="Post&ReplaySN" style="color:#FF0303;">الموضوع الأصلى: <a href="topic-t{TOPIC_ID}.htm">{TOPIC_TITLE}
      </a>  
    المصدر: <a href="/">منتديات صحبة نت</a></div></center>');
       }
    })
});
</script>
<!-- المصدر و الموضوع الأصلى -->

<script type="text/javascript">
    //<![CDATA[
    var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };

    $(function(){
        if(typeof(_atc) == "undefined") {
            _atc = {  };
        }
    });

    var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
    showHiddenMessage = function(id)
    {
        try
        {
            var regId = parseInt(id, 10);
            if( isNaN(regId) ) { regId = 0; }

            if( regId > 0)
            {
                $('.post--' + id).parent().toggle(0, function()
                {
                    if( $(this).is(":visible") )
                    {
                        $('#hidden-title--' + id).html(hiddenMsgLabel.visible);
                    }
                    else
                    {
                        $('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
                    }
                });
            }
        }
        catch(e) { }

        return false;
    };
    //]]>
</script>





   

       

{TOPIC_TITLE}


       
       
            mode_edit
            {L_POST_NEW_TOPIC}
       

       
       
       
            reply
            {L_POST_REPLY_TOPIC}
       

       
       
       
       
       
   


    {POLL_DISPLAY}

   
   
   

       

           

                {postrow.hidden.MESSAGE}
               
           

       

   

   
   

   

       

           
           
            {S_WATCH_TOPIC}
           
           
       

   


   
   
   

    {INLINE_MESSAGE}

    {QUICK_REPLY_FORM}

   

       
   


   
   

       
       
       
       
   


   
{S_TOPIC_ADMIN}

   

   
   

       

            {L_TABS_PERMISSIONS}
       

       

            {S_AUTH_LIST}
       

   

   

   
   
        reply
   

   



    //    $(document).ready(function() {
        $('.post-author-contact').each(function () {
            $(this).find('a:nth-child(5n)').each(function () {
                $(this).after('
');
            });
        });
    });
    //]]>







    $(document).ready(function() {
        $('pre, code').each(function(i, block) {
            hljs.highlightBlock(block);
        });
    });

 
 


عدل سابقا من قبل Admin في الأحد سبتمبر 09, 2018 4:20 am عدل 1 مرات (السبب : تجريبر نلايابسيبتبلتسبلتبلتسب)

descriptionتجربة الكود الطويل - صفحة 4 Emptyرد: تجربة الكود الطويل

more_horiz
[postbg=https://i.servimg.com/u/f55/14/83/59/48/lruwov10.png]تجربة الكود الطويل - صفحة 4 236396

descriptionتجربة الكود الطويل - صفحة 4 Emptyرد: تجربة الكود الطويل

more_horiz

descriptionتجربة الكود الطويل - صفحة 4 Emptyرد: تجربة الكود الطويل

more_horiz

الكود:

/* zzRedirects v3.1.1 - devs.forumvi.com */


         jQuery(function($) {


             'use strict';


             if (window.btoa && window.atob) $('.postbody a').not('a[href$=".jpg"],a[href$=".jpeg"],a[href$=".png"],a[href$=".gif"],a[href$=".bmp"],a[href^="/"],a[href^="#"],a[href^="?"],a[href^="http://' + location.host + '"]').addClass('external').click(function(e) {


                 e.preventDefault();


                 window.open('/h21-redirect?url=' + window.btoa(this.href), document.title);


 /* zzRedirects v3.1.1 - devs.forumvi.com */


         jQuery(function($) {


             'use strict';


             if (window.btoa && window.atob) $('.postbody a').not('a[href$=".jpg"],a[href$=".jpeg"],a[href$=".png"],a[href$=".gif"],a[href$=".bmp"],a[href^="/"],a[href^="#"],a[href^="?"],a[href^="http://' + location.host + '"]').addClass('external').click(function(e) {


                 e.preventDefault();


                 window.open('/h21-redirect?url=' + window.btoa(this.href), document.title);


 /* zzRedirects v3.1.1 - devs.forumvi.com */


         jQuery(function($) {


             'use strict';


             if (window.btoa && window.atob) $('.postbody a').not('a[href$=".jpg"],a[href$=".jpeg"],a[href$=".png"],a[href$=".gif"],a[href$=".bmp"],a[href^="/"],a[href^="#"],a[href^="?"],a[href^="http://' + location.host + '"]').addClass('external').click(function(e) {


                 e.preventDefault();


                 window.open('/h21-redirect?url=' + window.btoa(this.href), document.title);


 /* zzRedirects v3.1.1 - devs.forumvi.com */


         jQuery(function($) {


             'use strict';


             if (window.btoa && window.atob) $('.postbody a').not('a[href$=".jpg"],a[href$=".jpeg"],a[href$=".png"],a[href$=".gif"],a[href$=".bmp"],a[href^="/"],a[href^="#"],a[href^="?"],a[href^="http://' + location.host + '"]').addClass('external').click(function(e) {


                 e.preventDefault();


                 window.open('/h21-redirect?url=' + window.btoa(this.href), document.title);

descriptionتجربة الكود الطويل - صفحة 4 Emptyرد: تجربة الكود الطويل

more_horiz
[postbg=https://i.servimg.com/u/f55/14/83/59/48/pftcnq10.png]

الكود:

        $(function () {
          if ($("div.cont_code").filter(function () {
              var a = $(this).text().indexOf("["),
                b = $(this).text().indexOf("]"),
                c = $(this).text().indexOf("[/"),
                d = $(this).text().indexOf("<"),
                e = $(this).text().indexOf('"'),
                f = $(this).text().indexOf("'"),
                g = $(this).text().indexOf("/");
             
            return a == -1 || b == -1 || c == -1 || a > b || b > c
                || d != -1 && d < a || e != -1 && e < a || f !=
                -1 && f < a || g != -1 && g < a
          }).each(function () {
             
            $(this).wrapInner('<pre class="prettyprint' +
                ($(this).text().indexOf("<") == -1 &&
                /[\s\S]+{[\s\S]+:[\s\S]+}/.test($(this).text()) ? " lang-css" : "") + '
                linenums" />')
          }).length) {
              var s = document.createElement("script");
              s.type = "text/javascript";
              s.async = !0;
              s.src = "http://fmvi-group.googlecode.com/files/fmvi-color-code.js";
              document.getElementsByTagName("head")[0].appendChild(s)
          };
        })

descriptionتجربة الكود الطويل - صفحة 4 Emptyرد: تجربة الكود الطويل

more_horiz

rate_review التسجيل - منتديات صحبة نت

assistant يجب عليك إنشاء حساب جديد أو تسجيل الدخول لإستخدام الرد السريع و كافة مميزات صحبة نت

assignment إنشاء حساب جديد

chevron_left يمكنك إنشاء حساب مجانى جديد لإستخدام كافة مميزات صحبة نت person_add إنشاء حساب جديد

assignment_ind تسجيل الدخول

chevron_left يمكنك تسجيل الدخول إذا كان لديك حساب بالفعل person تسجيل الدخول

آخر مواضيع المنتدى

آخر مواضيع القسم

swap_horiz انتقل الى

صلاحيات هذا المنتدى

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