Slider only working when logged in

Permalink
Hi

I have a slider on a site i'm developing that isn't a concrete addon, when logged in it works perfectly but when i'm not logged in it won't work. Any ideas why this may be? Can't seem to figure it out.

Here is the html code for the slider

<!-- header slider -->
                           <div class="header_slider">           
                          <div class="slides_container" >
                              <div class="slide">
                              <div class="slide_image"><img src="<?php echo $this->getThemePath()?>/images/twosq_images_story.png" width="404" height="304" alt=""></div>
                              <div class="slide_text">
                                      <p class="slide_title"><strong>Prices & Bookings</strong></p>
                                       <p>Some text goes in here </p>
                                       <a href="#" class="button_link btn_pink"><span>FIND OUT MORE</span></a>                              </div>
                             </div>
                               <div class="slide">
                              <div class="slide_image"><img src="<?php echo $this->getThemePath()?>/images/twosq_images_story.png" width="404" height="304" alt=""></div>
                              <div class="slide_text">
                                      <p class="slide_title"><strong>Prices & Bookings</strong></p>
                                      <p>Some text goes in here </p>


and I also have this in the footer.php

<script  type="text/javascript" src="<?php echo $this->getThemePath()?>/js/slides.min.jquery.js"></script>
<script  type="text/javascript" src="<?php echo $this->getThemePath()?>/js/jquery.jcarousel.min.js"></script>
<?php Loader::element('footer_required'); ?>   
</body>
</html>

abovecreative
 
pumppi replied on at Permalink Best Answer Reply
Hi

When you are logged out you don't have jquery loaded.
You need to also load jquery.

Try this:

<?php $this->addHeaderItem($html->javascript("jquery.js")); ?>
or
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
abovecreative replied on at Permalink Reply
abovecreative
I did figure it out just before you posted that by adding a jquery.easing.1.3.js file but thanks anyway:-)