I want Heartlander,Sagoe script or other like fonts codes
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
I have all fants in my computerSLGray wrote:Are you trying to add fonts that are not on your computer?
$(function(){$(function() {
$('.sceditor-button-font').click(function() {
addFont('Calibri');
addFont('Papyrus');
addFont('Avantgarde');
$('.sceditor-font-option.new-font').click(function(e){$('#text_editor_textarea').sceditor('instance').insertText('[font='+$(this).attr('data-font')+']','[/font]');$('.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>')}
})});
addFont('Baskerville');
.sceditor-font-picker {
height:250px;
width:150px;
overflow-y:auto;
}
I did not undertand where will I put this code? are you able to take picture/?Jadster wrote:
To add more fonts just add this code underneath the others in the code provided above.
- Code:
addFont('Baskerville');
addFont('Avantgarde');
thank youJadster wrote:
If you still need help, provide me all the fonts you want to add and I will do it and just provide the code.
$(function(){$(function() {
$('.sceditor-button-font').click(function() {
addFont('Calibri');
addFont('Papyrus');
addFont('Avantgarde');
addFont('Sagoe script');
addFont('Brush script MT');
addFont('Caprica Sans');
addFont('Cookie monster');
addFont('Dom Casual');
addFont('Forte regular');
addFont('Geo-zaza regular');
addFont('Solid italic');
addFont('Heartlander');
addFont('TFVictoria Scripts');
$('.sceditor-font-option.new-font').click(function(e){$('#text_editor_textarea').sceditor('instance').insertText('[font='+$(this).attr('data-font')+']','[/font]');$('.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>')}
})});
.sceditor-font-picker {
height:250px;
width:150px;
overflow-y:auto;
}
This Code should be in your CSS files and will make a slide bar on your Fonts Box when it gets to a max size of 250 Hight a lille like thisMariami wrote:this did not wark
and are you able to put me another code in javascript code?
.sceditor-font-picker {
height:250px;
width:150px;
overflow-y:auto;
}
ul.navlinks span.new-message {
color: #FF0000;
ul.navlinks span.new-message {
color: #FF0000;
}
yes thank youuAPE wrote:You are so welcome
is this now solved for you ?