Cryton
October 31, 2017, 7:41am
1
I have followed the tutorial fond here:
Step 1: Inside your server folder navigate to: resources/[test]/keks. It is recommended that you make a copy of this resource and rename it. Do not edit the original.
[image]
Step 2: Inside the keks folder, create a folder called music and inside it place your audio you wish to use. For this example I left mine called Loading.ogg. It needs to be in .ogg format to work. Also be aware it is case sensitive.
[image]
Step 3: Edit index.html and add the following code just below the <body> tag.
…
I have the custom music working but the background image does not work. The background image is a 1920 by 1080 jpg image. It works in both IE and Edge but the audio does not work. FIrefox,the audio works but not the image. It seams that the entire CSS file does not work in Firefox. It does the same thing when I load into the game.
My __Resourse.lua:
My CSS:
My html:
Any help would be appreciated.
Thanks in advance.
Try putting your loading screen image in through the html file
Cryton
October 31, 2017, 1:09pm
3
@Scott_UK That worked for the image but for none of the other css elements. It appears that the html and css are not linking.
Change:
<link href="keks.css" rel="stylesheet" type="text/css" />
to
<link rel="stylesheet" type="text/css" href="keks.css">
That should make the CSS link to the HTML correctly.
Cryton
October 31, 2017, 1:51pm
5
@Scott_UK That also didnt work. There are no errors appearing in the console either. It works in IE. But not in Firefox or on the server.