bakers11 Posted July 2, 2012 Report Posted July 2, 2012 I need some advice. I have a flash banner script for my va, but it doesn't scrool or loop. etc. Any thoughts. Quote
Tom Posted July 2, 2012 Report Posted July 2, 2012 The best advice I can give is don't use flash. Other than that, do you have the .fla for the file? You can just get it to loop... Quote
bakers11 Posted July 2, 2012 Author Report Posted July 2, 2012 my script below <div id="deptname"><div class="headertext"> </div></div> <br clear=left></div> <div id="baylor_header_blackbar"></div> <div class="content_wrapper"> <div class="content_container"> <div class="frontpage_mainpic"><div id="shuffle" class="pics"> <!-- no_flash_apply --> <img src="/lib/skins/asa/banner.png" border=0 alt="no_flash_apply" style="display:block;"> <!-- no_flash_built --> <img src="http://alaskaairva.net/lib/skins/asa/header/4.png" border=0 alt="no_flash_built" style="display:none;"> <!-- asa1 --> <img src="http://alaskaairva.net/lib/skins/asa/header/1.png" border=0 alt="asa1" style="display:none;"> <!-- asa3 --> <img src="http://alaskaairva.net/lib/skins/asa/header/fltdeck.png" border=0 alt="asa3" style="display:none;"> <!-- asa2--> <img src="http://alaskaairva.net/lib/skins/asa/header/asa737.png" border=0 alt="asa2" style="display:none;"> <!-- asa4 --> <img src="http://alaskaairva.net/lib/skins/asa/header/737.png" border=0 alt="asa4" style="display:none;"> <!-- no_flash_sing --> <img src="http://alaskaairva.net/lib/skins/asa/header/727.png" border=0 alt="no_flash_sing" style="display:none;"> <!-- no_flash_equipped --> <img src="http://alaskaairva.net/lib/skins/asa/header/5.png" border=0 alt="no_flash_equipped" style="display:none;"> <!-- no_flash_can --> <img src="http://alaskaairva.net/lib/skins/asa/header/3.png" border=0 alt="no_flash_can" style="display:none;"> <!-- no_flash_transformed --> <img src="http://alaskaairva.net/lib/skins/asa/header/2.png" border=0 alt="no_flash_transformed" style="display:none;"> </div> <script type="text/javascript" src="/content/includes/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/content/includes/jquery.cycle.all.min.js"></script> <script type="text/javascript" src="/content/includes/jquery.easing.1.1.1.js"></script> <script type="text/javascript"> $(document).ready(function() { $.fn.cycle.defaults.speed = 1; $.fn.cycle.defaults.timeout = 8000; $('#shuffle > img').show(); $('#shuffle').cycle({ fx: 'scrollLeft', delay: -2000, width: 664, height: 240, pause: 1 }); }); </script> Quote
Strider Posted July 2, 2012 Report Posted July 2, 2012 <script type="text/javascript" src="/content/includes/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/content/includes/jquery.cycle.all.min.js"></script> <script type="text/javascript" src="/content/includes/jquery.easing.1.1.1.js"></script> <script type="text/javascript"> $(document).ready(function() { $.fn.cycle.defaults.speed = 1; $.fn.cycle.defaults.timeout = 8000; $('#shuffle > img').show(); $('#shuffle').cycle({ fx: 'scrollLeft', delay: -2000, width: 664, height: 240, pause: 1 }); }); </script> Put that code in the head section of your page. And it isn't a flash banner, it is a jquery banner. Also you need to put <?php echo SITE_URL?>/lib/skins/yourskin/content/includes/and the js file. The page wont find them the way you have it. That is why it is not working. Quote
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.