Originally Posted by
picaflor-azul
The jquery library needs to be called once. I would continue to trouble shoot by disabling all other js until you find the conflict.
Thanks,
Anne
Finally got it to work with a lot of help from someone else
I had to remove from tpl_home_slider.php
Code:
<script type="text/javascript">
$('#slides').slides({
preload: true,
preloadImage: 'includes/templates/yourtemplate/images/loading.gif',
play: 8000,
pause: 3000,
hoverPause: true
});
});
</script>
and add it to html_header.php
like this...
Code:
<script type="text/javascript">
$(document).ready(function () {
console.log('document ready!');
$('#slides').slides({
preload: true,
preloadImage: 'includes/templates/yourtemplate/images/loading.gif',
play: 8000,
pause: 3000,
hoverPause: true
});
});
</script>
Hopefully this will save someone a lot of time.
Bookmarks