(2016-09-10, 01:28 PM)Phillip. Wrote: [ -> ]jQuery(document).ready(function($){
var dt = new Date();
var currentHour = dt.getHours();
$("#logo img").attr('src', 'http://crystalforums.cf/logo/logo_' + currentHour + '.png');
$('body').css('background', '#FFF url(http://crystalforums.cf/bk/bg_'+currentHour+'.png) no-repeat center center fixed');
$('body').css('background-size', 'cover');
});
Make sure all the backgrounds are using bg_ at the beginning of them and using png at the end of them. I've had problems with that in the past and can't reach my sites right now to help out on the coding like SentoWeb did.
okokok y'all gonna hate me but i name the files bk not bg
CRIIII
Problem should be fixed now right?
(2016-09-10, 01:30 PM)Phillip. Wrote: [ -> ]Problem should be fixed now right?
Yes, i'm gonna try out the bk for the logo thing now c:
Meaning both threads can now be closed.
(2016-09-10, 01:41 PM)Phillip. Wrote: [ -> ]Meaning both threads can now be closed.
no, i still need support if i don't do the logo.php right. Where will i upload it!?
Go back to the code and look at the logo coding pretty good and go by that.
(2016-09-10, 01:46 PM)Phillip. Wrote: [ -> ]Go back to the code and look at the logo coding pretty good and go by that.
That's what i'm doing. Where do i upload the logo.php file though?
Where is the logo url located?
jQuery(document).ready(function($){
var dt = new Date();
var currentHour = dt.getHours();
$("#logo img").attr('src', 'http://crystalforums.cf/logo/logo_' + currentHour + '.png');
Right there in the code...whereever you put the images at they go there.
You are using Project theme as your main theme...meaning forums/images/project should be the path to take.