Background image does not scroll

  • Houwa6
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 1 week ago #43645 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.

Please Log in to join the conversation.

More
10 years 1 week ago #43646 by ivan.milic
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.

Please Log in to join the conversation.

  • Houwa6
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 1 week ago #43651 by Houwa6
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.

Please Log in to join the conversation.

  • Houwa6
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
10 years 1 week ago - 10 years 1 week ago #43652 by Houwa6
PS: I'm still developing in local.
Last edit: 10 years 1 week ago by Houwa6.

Please Log in to join the conversation.

More
10 years 6 days ago #43656 by ivan.milic
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
  • New Member
More
10 years 6 days ago #43659 by Houwa6
Here is the code :
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' );
and the url is : http://localhost/hotstart/

Please Log in to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum