The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Current date/time is February 24th 2018, 5:33 am

Search found 2 matches for colorFrame

connection

yes they tried, but it is same

yes,I have

Css - ul.navlinks span.new-message {
color: #FF0000;
}

.sceditor-font-picker {
height:250px;
width:150px;
overflow-y:auto;
}

Javascript - $(function(){$(function(){
if ($("#text_editor_textarea").length < 1) return;
$.sceditor.command.get('color')._menu = function (editor, caller, callback) {
editor.createDropDown(caller, 'color-picker', '<iframe id="colorFrame" src="/chatbox/chatbox_selectcolor.htm" style="height:165px;width:250px;border:none;"></iframe>');
$('#colorFrame').load(function(){$('#colorFrame').contents().find('table[bgcolor="#000000"]').find('td').click(function(){callback($(this).attr('bgcolor'));editor.closeDropDown(true)})});
}
})});
$(function(){
if(_userdata.user_level == 1){}else{$('a[href*="editpost"]').remove();}
});







$(function(){$(function() {
$('.sceditor-button-size').click(function() {
addSize(8, 'before');
addSize(6, 'before');

addSize(26, 'after');
addSize(28, 'after');


$('.sceditor-fontsize-option.new-size').click(function(e){$('#text_editor_textarea').sceditor('instance').insertText('[size='+$(this).attr('data-size')+']','[/size]');$('.sceditor-fontsize-picker').remove();e.preventDefault()})
});
function addSize(size, position){
var data = '<a unselectable="on" class="sceditor-fontsize-option new-size" href="#" data-size="'+size+'"><span unselectable="on" style="font-size:'+size+'px;">'+size+'</span></a>';
if (position == 'after' || position == null) $('.sceditor-fontsize-picker div').append(data);
if (position == 'before') $('.sceditor-fontsize-picker div').prepend(data);
}
})});





$(function(){$(function() {
$('.sceditor-button-font').click(function() {
addFont('Papyrus');
addFont('Brush script MT');
addFont('Dom Casual');
addFont('KR Love Letters');
addFont('CookieMonster');
addFont('Dove Love');
addFont('Forte');
addFont('HeartlandRegular');
addFont('JLR Simple Hearts');
addFont('Jokerman');
addFont('KR Love Letters');
addFont('KR Valentine Heart');
addFont('KR Yours Truly');
addFont('Margarita in August');
addFont('Mark');
addFont('MC Sweetie Hearts');
addFont('Newlywed');
addFont('Caprica Sans IT Personal Use ');
addFont('Kiss Me Quick');
addFont('Starlight');




$('.sceditor-font-option.new-font').click(function(e){$('#text_editor_textarea').sceditor('instance').insertText('','');$('.sceditor-font-picker').remove();e.preventDefault()})
});
function addFont(font){$('.sceditor-font-picker div').append('<a unselectable="on" class="sceditor-font-option new-font" href="#" data-font="'+font+'"><font unselectable="on" face="'+font+'">'+font+'</font></a>')}
})});



$(function(){$(function(){
if ($("#text_editor_textarea").length < 1 || !$.sceditor) return;
$.sceditor.command.get('color')._menu = function (editor, caller, callback) {
editor.createDropDown(caller, 'color-picker', '<iframe id="colorFrame" src="/chatbox/selectcolor" style="height:165px;width:250px;border:none;"></iframe>');
$('#colorFrame').load(function(){$('#colorFrame').contents().find('table[bgcolor="#000000"]').find('td').click(function(){callback($(this).attr('bgcolor'));editor.closeDropDown(true)})});
}
})});


$('a').each(function() {
var a = new RegExp('/' + window.location.host + '/');
if(!a.test(this.href)) {
$(this).click(function(event) {
event.preventDefault();
event.stopPropagation();
window.open(this.href, '_blank');
});
}
});
by Mariami
on May 1st 2015, 2:34 pm
 
Search in: Connection Problems Archives
Topic: connection
Replies: 57
Views: 1906

Colors

I had this colors on forum
And now it doesnt work and are you able to correct the llinks? or halp mne?



$(function(){$(function(){
if ($("#text_editor_textarea").length < 1) return;
$.sceditor.command.get('color')._menu = function (editor, caller, callback) {
editor.createDropDown(caller, 'color-picker', '<iframe id="colorFrame" src="/chatbox/chatbox_selectcolor.htm" style="height:165px;width:250px;border:none;"></iframe>');
$('#colorFrame').load(function(){$('#colorFrame').contents().find('table[bgcolor="#000000"]').find('td').click(function(){callback($(this).attr('bgcolor'));editor.closeDropDown(true)})});
}
})});
by Mariami
on February 6th 2015, 1:26 pm
 
Search in: Scripts Problems Archives
Topic: Colors
Replies: 3
Views: 392

Back to top

Jump to: