jquery/ Javascript on site not working?

Hello

I know i have posted alot in this forums asking for help and I do appreciate it but Im stuck again

On my site there is ALOT of javascript/ jquery for the image slider but, I have noticed that the schedual page does not work at all (in IE it redirects to http://www.flyirelandva.com/action.php/schedules/ and in any other browzer it just ends up being a blank page.

I have no clue how to use javascript and any help will be appreciated. - This is really starting to annoy me now because I thought we got the problem fixed in an older post.

(also if i remove any javascript from the layout.tpl the slider will not work and i have also noticed that the slider only works on the homepage)

Heres the top part of the code in my layout.tpl file:

... <title><?php echo $page_title; ?></title>
<?php 
/* This is required, so phpVMS can output the necessary libraries it needs */
echo $page_htmlhead; 
?>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/jquery.easing.1.3.min.js"]http://www.flyirelandva.com/js/jquery.easing.1.3.min.js"></script[/url]>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/hoverIntent.min.js"]http://www.flyirelandva.com/js/hoverIntent.min.js"></script[/url]>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/jquery.bgiframe.min.js"]http://www.flyirelandva.com/js/jquery.bgiframe.min.js"></script[/url]>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/superfish.min.js"]http://www.flyirelandva.com/js/superfish.min.js"></script[/url]>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/supersubs.min.js"]http://www.flyirelandva.com/js/supersubs.min.js"></script[/url]>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/jquery.cluetip.min.js"]http://www.flyirelandva.com/js/jquery.cluetip.min.js"></script[/url]>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/jquery.overlabel.min.js"]http://www.flyirelandva.com/js/jquery.overlabel.min.js"></script[/url]>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/jquery.scrollTo-min.js"]http://www.flyirelandva.com/js/jquery.scrollTo-min.js"></script[/url]>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/jquery.localscroll-min.js"]http://www.flyirelandva.com/js/jquery.localscroll-min.js"></script[/url]>
<script type="text/javascript" src="[url="http://www.flyirelandva.com/js/jquery.fancybox-1.2.6.pack.js"]http://www.flyirelandva.com/js/jquery.fancybox-1.2.6.pack.js"></script[/url]>



<!-- Style sheets -->
<link rel="stylesheet" type="text/css" href="[url="http://www.flyirelandva.com/lib/skins/template/css/reset.min.css"]http://www.flyirelandva.com/lib/skins/template/css/reset.min.css[/url]" />
<link rel="stylesheet" type="text/css" href="[url="http://www.flyirelandva.com/lib/skins/template/css/menu.min.css"]http://www.flyirelandva.com/lib/skins/template/css/menu.min.css[/url]" />
<link rel="stylesheet" type="text/css" href="[url="http://www.flyirelandva.com/lib/skins/template/css/fancybox.css"]http://www.flyirelandva.com/lib/skins/template/css/fancybox.css[/url]" />
<link rel="stylesheet" type="text/css" href="[url="http://www.flyirelandva.com/lib/skins/template/css/tooltip.min.css"]http://www.flyirelandva.com/lib/skins/template/css/tooltip.min.css[/url]" />
<link rel="stylesheet" type="text/css" href="[url="http://www.flyirelandva.com/lib/skins/template/css/default.css"]http://www.flyirelandva.com/lib/skins/template/css/default.css[/url]" />

<?php /*Any custom Javascript should be placed below this line, after the above call */ ?>

<!-- jQuery framework and utilities -->


<!-- Slide shows -->
 <!-- Cycle (default) -->
 <script type="text/javascript" src="js/jquery.cycle.all.min.js"></script>
 <script type="text/javascript">
  // initialize slideshow (Cycle)
  $(document).ready(function() {
   if ($('#Slides').length > 0) {
    $('#Slides').cycle({ 
     fx: 'scrollHorz',
     speed: 1000,
     timeout: 6000, 
     randomizeEffects: true, 
     easing: 'easeOutCubic',
     next: '.slideNext', 
     prev: '.slidePrev',
     pager: '#slidePager',
     cleartypeNoBg: true
    });
   }
  });
 </script> ...

Thanks again.

Download the firebug plugin for firefox, then open the console, and open your page. You’ll probably see a boatload of errors.. that’ll be a good place to start. Hard to tell looking at a bunch of code

Hi, i downloaded firebug and its telling me that there is an error with this part of the code:

<script type="text/javascript">
  // initialize slideshow (Cycle)
  $(document).ready(function() {
   if ($('#Slides').length > 0) {
    $('#Slides').cycle({ 
     fx: 'scrollHorz',
     speed: 1000,
     timeout: 6000, 
     randomizeEffects: true, 
     easing: 'easeOutCubic',
     next: '.slideNext', 
     prev: '.slidePrev',
     pager: '#slidePager',
     cleartypeNoBg: false
    });
   }
  });
 </script>

It says the cleartypeNoBg: false part is wrong. Then if i remove tht part of the code it tells me that pager: ‘#slidePager’, part is wrong?

Is there code missing or something? ( i have no clue on how javascript works)

Thanks again

There’s a syntax error somewhere there, or with another piece of javascript. Try taking that entire thing out and seeing if there are any errors

There’s a syntax error somewhere there, or with another piece of javascript. Try taking that entire thing out and seeing if there are any errors

The schedule search has somehow “fixed itself” overnight. I think im just going to leave the slideshow error alone because i have no clue how javascript works so i would just make the situaltion 10 times worse

Anyway thanks for the help again

james

Could have been that your browser was caching something, and that got cleared