Dear xaraians,
i'm a german xara user struggling with googlefont-/font-awesome-usage. In germany you got lots of legal trouble linking online-resources (like google-fonts) to your website.
Xara is exporting websites with local fonts instead of referencing to googlefonts. That's cool.
I just went insane with a clients site, that kept listing googlefonts-links no matter what i did.
After lots of time i found xara slideshow widget to be the reason.
In this part of mxslider.js it lists googlefonts and and some font-awesome.
mxsInitSliders = function(){
fnlogFunc("mxsInitSliders");
mxS.arSlider = new Array();
var arSlider = $(".mxSlider");
if(arSlider.length>0){
var strFonts = "<link href='https://fonts.googleapis.com/css?family=", arFonts = [
"Open+Sans","Source+Sans+Pro","Roboto+Condensed"," Oswald","Source+Serif+Pro","Roboto+Slab","Merriwea ther","Playfair+Display","Cherry+Swash","Lobster", "Dancing+Script","Amatic+SC"
];
for(var f=0 in arFonts){
strFonts += arFonts[f]+":300,400,600,900|";
}
strFonts += "' rel='stylesheet' type='text/css'>";
$("head")
.append(strFonts)
.append('<link rel="stylesheet" href="'+mxS.url+'css/mxslider.css?t='+new Date().getTime()+'" type="text/css">')
.append('<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">');
So i dowloaded some scripts and put this into my website-head-content.
<script src="index_htm_files/jquery.js"></script>
<script src="index_htm_files/mxslider.js"></script>
<link rel="stylesheet" href="index_htm_files/fontawesome.min.css"/>
<link href="fontawesome/all.css" rel="stylesheet">
I'm not a coder so it's very tedious for me to get this to work.
Long story short.
Dear xara, would it be possible to write the slideshow with all references/resources local? That would be great.
Even greater would be if all site resources would be linked locally.
Thx,
Fly
Bookmarks