- Posts: 14
- Thank you received: 0
Background image does not scroll
-
Houwa6
Inactive member - Topic Author
- New Member
Less
More
10 years 1 week ago #43645
by Houwa6
Background image does not scroll was created by Houwa6
Hi guys,
Well, I've got the Hot Destination Joomla! template and I'm really enjoying it.
However, I have one problem.
I'm using the style1 and as it is supposed to be, the background should scroll between 4 images (bg1, bg2, bg3 and bg4).
In the Home page (index.php) everything is working fine, but when I go to an other article (say index.php/features) the background doesn't slide.
In fact, first it shows the first image and then it changes to a blanc background and stays that way.
Any help would be appreciated.
Thanks.
Well, I've got the Hot Destination Joomla! template and I'm really enjoying it.
However, I have one problem.
I'm using the style1 and as it is supposed to be, the background should scroll between 4 images (bg1, bg2, bg3 and bg4).
In the Home page (index.php) everything is working fine, but when I go to an other article (say index.php/features) the background doesn't slide.
In fact, first it shows the first image and then it changes to a blanc background and stays that way.
Any help would be appreciated.
Thanks.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 1 week ago #43646
by ivan.milic
Replied by ivan.milic on topic Background image does not scroll
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'
);
replace this 4 relative urls with absolute urls to images.
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'
);
replace this 4 relative urls with absolute urls to images.
Please Log in to join the conversation.
-
Houwa6
Inactive member - Topic Author
- New Member
Less
More
- Posts: 14
- Thank you received: 0
10 years 1 week ago #43651
by Houwa6
Replied by Houwa6 on topic Background image does not scroll
Hey, thanks for your replay, but that wouldn't work.
Actually if I do so, even the background of the home page isn't scrolling now.
Actually if I do so, even the background of the home page isn't scrolling now.
Please Log in to join the conversation.
-
Houwa6
Inactive member - Topic Author
- New Member
Less
More
- Posts: 14
- Thank you received: 0
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 6 days ago #43656
by ivan.milic
Replied by ivan.milic on topic Background image does not scroll
Send me what you typed there , and send me url from browser address bar for your site home page
Please Log in to join the conversation.
-
Houwa6
Inactive member - Topic Author
- New Member
Less
More
- Posts: 14
- Thank you received: 0
10 years 6 days ago #43659
by Houwa6
Replied by Houwa6 on topic Background image does not scroll
Here is the code :
and the url is : http://localhost/hotstart/
Code:
var imgArr = new Array( // relative paths of images
'http://localhost/hotstart/templates/hot_destinations/images/bg1.jpg',
'http://localhost/hotstart/templates/hot_destinations/images/bg2.jpg',
'http://localhost/hotstart/templates/hot_destinations/images/bg3.jpg',
'http://localhost/hotstart/templates/hot_destinations/images/bg4.jpg'
);
Please Log in to join the conversation.
Time to create page: 0.177 seconds