- Posts: 13
- Thank you received: 0
BACKGROUND PROBLEM
-
EMA_SIOP
Inactive member - Topic Author
- New Member
Less
More
13 years 1 month ago #13006
by EMA_SIOP
BACKGROUND PROBLEM was created by EMA_SIOP
i bought your template hot destinations but i have a problem and i need help.
In the other categories except from THE home PAGE THE background images not play. it starts to play the first picture bg1.jpg but after this, shows white background and i can not change it. please help me.
Thanks in advance
In the other categories except from THE home PAGE THE background images not play. it starts to play the first picture bg1.jpg but after this, shows white background and i can not change it. please help me.
Thanks in advance
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 1 month ago #13011
by ivan.milic
Replied by ivan.milic on topic Re: BACKGROUND PROBLEM
open \templates\hot_destinations\js\animbg.js
you will see:
var imgArr = new Array( // relative paths of images
'templates/hot_destinations/images/bg1.jpg',
'templates/hot_destinations/images/bg2.jpg',
'templates/hot_destinations/images/bg3.jpg',
'templates/hot_destinations/images/bg4.jpg'
);
try first to add / in front of path:
var imgArr = new Array( // relative paths of images
'/templates/hot_destinations/images/bg1.jpg',
'/templates/hot_destinations/images/bg2.jpg',
'/templates/hot_destinations/images/bg3.jpg',
'/templates/hot_destinations/images/bg4.jpg'
);
if that does not help use absolute paths:
var imgArr = new Array( // relative paths of images
'<site base link>/templates/hot_destinations/images/bg1.jpg',
'<site base link>/templates/hot_destinations/images/bg2.jpg',
'<site base link>/templates/hot_destinations/images/bg3.jpg',
'<site base link>/templates/hot_destinations/images/bg4.jpg'
);
you will see:
var imgArr = new Array( // relative paths of images
'templates/hot_destinations/images/bg1.jpg',
'templates/hot_destinations/images/bg2.jpg',
'templates/hot_destinations/images/bg3.jpg',
'templates/hot_destinations/images/bg4.jpg'
);
try first to add / in front of path:
var imgArr = new Array( // relative paths of images
'/templates/hot_destinations/images/bg1.jpg',
'/templates/hot_destinations/images/bg2.jpg',
'/templates/hot_destinations/images/bg3.jpg',
'/templates/hot_destinations/images/bg4.jpg'
);
if that does not help use absolute paths:
var imgArr = new Array( // relative paths of images
'<site base link>/templates/hot_destinations/images/bg1.jpg',
'<site base link>/templates/hot_destinations/images/bg2.jpg',
'<site base link>/templates/hot_destinations/images/bg3.jpg',
'<site base link>/templates/hot_destinations/images/bg4.jpg'
);
Please Log in to join the conversation.
-
kartika9
Inactive member - New Member
Less
More
- Posts: 1
- Thank you received: 0
12 years 5 months ago #20975
by kartika9
Replied by kartika9 on topic BACKGROUND PROBLEM
Hi,
I have similar issues, but only in Firefox. I had set in such way to have a static background, but in Firefox the background is still animating. Please advice to solve this.
Thank you.
I have similar issues, but only in Firefox. I had set in such way to have a static background, but in Firefox the background is still animating. Please advice to solve this.
Thank you.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 5 months ago #20983
by ivan.milic
Replied by ivan.milic on topic BACKGROUND PROBLEM
maybe you put \ instead of / or just use absolute links if you see images when you put image url in browser address bar then it will work there.
Please Log in to join the conversation.
Time to create page: 0.152 seconds