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

[كود][Style]

+close

description[كود][Style] Empty[كود][Style]

more_horiz
input-subtle tooltipstered

description[كود][Style] Emptyرد: [كود][Style]

more_horiz
Admin كتب:
input-subtle tooltipstered


الكود:

http://sohbanetonline.rigala.net/




description[كود][Style] Emptyرد: [كود][Style]

more_horiz

الكود:


/**
 * Melhorar o botão CODE no SCEditor.
 *
 * @author: Luiz~
 * @see: <a href="http://ajuda.forumeiros.com/">Fórum dos Fóruns</a>
 * @licence: MIT
 */
(function ($) {
  'use strict';
 
  $(window).on('load', function () {
 
    $('.sceditor-button-code').css('display', 'none');
    var $faCode = $([
      '<a class="sceditor-button sceditor-button-c0de" data-sceditor-command="fa-code" ' +
      '  unselectable="on" title="Code">',
      '  <div unselectable="on" style="background-position: 0 -544px; filter: none!important; ' +
      '  opacity: 1!important;">Code</div>',
      '</a>',
    ].join('\n'))
      .on('click', function () {
        $('.sceditor-fa-code-drop')
          .css({
            left: $faCode.offset().left + 'px',
            top: $faCode.offset().top + 'px'
          })
            .toggle();
      })
        .insertAfter('.sceditor-button-code')
    ;
 
    $([
      '<div class="sceditor-dropdown sceditor-fa-code-drop">',
      '  <div>',
      '    <label for="txt" unselectable="on">Cole o código:</label>',
      '    <textarea id="fa-code-content" value="" cols="20" rows="7" ' +
      '    style="min-width: 160px; width: 160px;"></textarea>',
      '  </div>',
      '  <div>',
      '    <input type="button" class="button" id="fa-code-btn" value="Inserir código">',
      '  </div>',
      '</div>',
    ].join('\n'))
      .css({
        marginTop: '28px',
        display: 'none'
      })
        .appendTo('body')
    ;
 
    var $sceditor = $("#text_editor_textarea");
    $('#fa-code-btn').on('click', function () {
      $sceditor
        .sceditor('instance')
          .insertText('[code]' + $('#fa-code-content').val() + '[/code]')
      ;
      $('.sceditor-fa-code-drop').toggle();
      $('#fa-code-content').val('');
    });
  }); 
}(jQuery));

description[كود][Style] Emptyرد: [كود][Style]

more_horiz
Smile Smile Smile Smile Smile Smile Smile

description[كود][Style] Emptyرد: [كود][Style]

more_horiz
$(document).on('click', function(e) {
var that = e.target, list;

if (that.id == 'fa_notifications' && !window.fa_notif_checked) {
window.fa_notif_checked = true;

$.get('/notification.forum').done(function (o) {
for (var h = o.store, i = 0, a, b, c, d, e; i < h.length; i++) {
a = h[i].time;
b = h[i].text.id;
c = document.getElementById('n' + b);
d = new Date(a);
e = d.toLocaleString();
c.insertAdjacentHTML('beforeend', ';padding: 5px;border: 0px solid #146dc7;width: 100%;border-radius: 5px;font-size: 12px;"> '+ e +'')
}
});
}
});

$(function() {
setInterval(function() {
$('#notif_unread').length && $('#notif_unread').text(function(_, text) {
return text.replace(/\(|\)/g, '')
})
}, 0)
});

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

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

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

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

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

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

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

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

swap_horiz انتقل الى

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

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