hello
how can i Enlarge two of icon of sedictor in new post
and how can i remove some icon as like as spoiler and hidden and...
how can i Enlarge two of icon of sedictor in new post
and how can i remove some icon as like as spoiler and hidden and...
.sceditor-button-spoiler, .sceditor-button-faspoiler { display:none; }
.sceditor-button-imageUpload, .sceditor-button-musicUpload {
width:30px;
height:30px;
}
Could you be specific on which ones don't work ?qmars(pkq) wrote:bro they dont work
.sceditor-button-spoiler, .sceditor-button-faspoiler { display:none !important; }
.sceditor-button-imageUpload, .sceditor-button-musicUpload {
width:30px;
height:30px;
}
.sceditor-button-imageUpload div, .sceditor-button-musicUpload div {
width:28px;
height:28px;
background-size:100% 100%;
background-position:center;
}
.sceditor-button-imageUpload, .sceditor-button-musicUpload {
width:30px !important;
height:30px !important;
}
.sceditor-button-imageUpload div, .sceditor-button-musicUpload div {
width:28px !important;
height:28px !important;
background-size:100% 100% !important;
background-position:center !important;
}
$(function(){$(function(){
newHost('Image Uploader', 'imageUpload', 'http://lemon-13.com/up.png', 'http://lemon-13.com/upload-Center', '250px', '500px');
newHost('Music Uploader', 'musicUpload', 'http://lemon-13.com/mu.jpg', 'http://lemon-13.com/m%20up/index.html', '400px', '600px');
function newHost(title, name, image, upload, height, width) {
$('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-'+name+'" title="'+title+'"><div style="background-image:url('+image+')"></div></a>');
$('body').append('<div id="'+name+'_container" class="sceditor-dropdown" style="display:none;"></div>');
$('.sceditor-button-'+name+'').click(function() {
var X = $('.sceditor-button-'+name+'').offset().left;
var Y = $('.sceditor-button-'+name+'').offset().top + 25;
if (!document.getElementById(''+name+'_frame') && $('#'+name+'_container').css('display') == 'none') $('#'+name+'_container').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="'+name+'_frame" style="border:none;height:'+height+';width:'+width+';" src="'+upload+'"></iframe>');
else if ($('#'+name+'_container').css('display') == 'none') $('#'+name+'_container').show().css('left',X + 'px').css('top',Y + 'px');
else $('#'+name+'_container').hide();
});
$('.sceditor-button:not(.sceditor-button-'+name+'), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#'+name+'_container').hide() });
$('.sceditor-container iframe').contents().mousedown(function() { $('#'+name+'_container').hide() });
$('.sceditor-button-source').click(function() { $('.sceditor-button-'+name+'').removeClass('disabled') });
}
})});