James142 Posted February 21, 2011 Report Share Posted February 21, 2011 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. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 22, 2011 Administrators Report Share Posted February 22, 2011 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 Quote Link to comment Share on other sites More sharing options...
James142 Posted February 22, 2011 Author Report Share Posted February 22, 2011 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 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 22, 2011 Administrators Report Share Posted February 22, 2011 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 Quote Link to comment Share on other sites More sharing options...
James142 Posted February 22, 2011 Author Report Share Posted February 22, 2011 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 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 24, 2011 Administrators Report Share Posted February 24, 2011 Could have been that your browser was caching something, and that got cleared Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.