backgroud slideshow

  • jokool
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #12584 by jokool
backgroud slideshow was created by jokool
Hi, i want to use the background slideshow of the template destination with the template chameleon ! is that possible and how can i do that ?
thanks.

Please Log in to join the conversation.

More
13 years 4 months ago #12600 by ivan.milic
Replied by ivan.milic on topic Re: backgroud slideshow
take this js to you r site:

demo.hotjoomlatemplates.com/destinations...nations/js/animbg.js

add reference, and change image paths in that file

Please Log in to join the conversation.

  • jokool
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #12603 by jokool
Replied by jokool on topic Re: backgroud slideshow
Thank you
I put this file at the right place and change the reference and the image paths.
but nothing changes !!!
what do I have to do more ?
I'm using the pre-defined style #4 !

Please Log in to join the conversation.

More
13 years 4 months ago #12604 by ivan.milic
Replied by ivan.milic on topic Re: backgroud slideshow
that script needs jQuery so place reference at the end of <head> tag of index.php of template. Just above </head>

Please Log in to join the conversation.

  • jokool
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #12605 by jokool
Replied by jokool on topic Re: backgroud slideshow
something like that ?

<script type="text/javascript" src="<?php echo $template_path ?>/js/animbg.js"></script>

Please Log in to join the conversation.

More
13 years 4 months ago #12607 by ivan.milic
Replied by ivan.milic on topic Re: backgroud slideshow
yes, add ; in

<?php echo $template_path; ?>

did you changed this:

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 you use SEF use absolute paths for images.

Please Log in to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum