Awang Posted December 11, 2016 Share Posted December 11, 2016 Hello guys! Last day I tried to use the font awesome's icons in the CEF. But unfortunatelly, it did'nt work when I call from the external link. Is there any way to use them? Link to comment
Awang Posted December 11, 2016 Author Share Posted December 11, 2016 Okay, but if i download it, need I write every css and fonts files in the meta? Link to comment
Awang Posted December 11, 2016 Author Share Posted December 11, 2016 I did but nothing happening I write every css, font files, less and scss file.... Anyway, is there any other font icons what I can use in external way? Link to comment
Simple0x47 Posted December 11, 2016 Share Posted December 11, 2016 I've used them on CEF already, that's pretty strange are you sure you're giving a correct path to the files? Link to comment
dugasz1 Posted December 11, 2016 Share Posted December 11, 2016 (edited) If you want to use local files in CEF you have to add the file to your meta and you have relink your css files like: <link rel="stylesheet" href="http://mta/resourceName/fontAwesome.css"> (Ps.: You can't access files remotly or localy at the same time) Edited December 11, 2016 by dugasz1 Link to comment
Awang Posted December 12, 2016 Author Share Posted December 12, 2016 <link rel="stylesheet" href="http://mta/ts_core/web/font-awesome/css/font-awesome.css" /> Here is my HTML code and the meta also <meta> <script src="main_loader.lua" type="client"/> <file src="web/download.html"/> <file src="web/login.html"/> <file src="web/css/style.css"/> <file src="web/css/style_l.css"/> <file src="web/css/users.png"/> <file src="web/css/adduser.png"/> <file src="web/images/logo.png"/> <file src="web/jquery/jquery-1.11.1.min.js"/> <file src="web/js/handler.js"/> <file src="web/js/handler_l.js"/> <file src="web/js/jquery.particleground.js"/> <file src="web/js/jquery.particleground.min.js"/> <file src="sound/loader.mp3"/> <file src="sound/buttonon.mp3"/> <file src="web/font-awesome/fonts/FontAwesome.otf"/> <file src="web/font-awesome/fonts/fontawesome-webfont.eot"/> <file src="web/font-awesome/fonts/fontawesome-webfont.svg"/> <file src="web/font-awesome/fonts/fontawesome-webfont.ttf"/> <file src="web/font-awesome/fonts/fontawesome-webfont.woff"/> <file src="web/font-awesome/fonts/fontawesome-webfont.woff2"/> <file src="web/font-awesome/less/animated.less"/> <file src="web/font-awesome/less/bordered-pulled.less"/> <file src="web/font-awesome/less/core.less"/> <file src="web/font-awesome/less/fixed-width.less"/> <file src="web/font-awesome/less/font-awesome.less"/> <file src="web/font-awesome/less/icons.less"/> <file src="web/font-awesome/less/larger.less"/> <file src="web/font-awesome/less/list.less"/> <file src="web/font-awesome/less/mixins.less"/> <file src="web/font-awesome/less/path.less"/> <file src="web/font-awesome/less/rotated-flipped.less"/> <file src="web/font-awesome/less/screen-reader.less"/> <file src="web/font-awesome/less/stacked.less"/> <file src="web/font-awesome/less/variables.less"/> <file src="web/font-awesome/scss/_animated.scss"/> <file src="web/font-awesome/scss/_bordered-pulled.scss"/> <file src="web/font-awesome/scss/_core.scss"/> <file src="web/font-awesome/scss/_fixed-width.scss"/> <file src="web/font-awesome/scss/_icons.scss"/> <file src="web/font-awesome/scss/_larger.scss"/> <file src="web/font-awesome/scss/_list.scss"/> <file src="web/font-awesome/scss/_mixins.scss"/> <file src="web/font-awesome/scss/_path.scss"/> <file src="web/font-awesome/scss/_rotated-flipped.scss"/> <file src="web/font-awesome/scss/_screen-reader.scss"/> <file src="web/font-awesome/scss/_stacked.scss"/> <file src="web/font-awesome/scss/_variables.scss"/> <file src="web/font-awesome/scss/font-awesome.scss"/> </meta> I tried what you sad my Hungarian testvér, but its not working Link to comment
Awang Posted December 12, 2016 Author Share Posted December 12, 2016 Okay, I did something wrong,I checked once a time the meta and find the problem... now I have these 2 rectangle instead of the icons (( Username, Login)) Link to comment
pa3ck Posted December 12, 2016 Share Posted December 12, 2016 href="http://mta/ts_core/web/font-awesome/css/font-awesome.css" Where's "/web/font-awesome/css/font-awesome.css" from the meta? Link to comment
Awang Posted December 14, 2016 Author Share Posted December 14, 2016 When I wrote that I fix something in the meta, was this change, that I wrote it into. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now