expandmind Posted May 11, 2010 Share Posted May 11, 2010 How can i run this script? in my non smarty site works perfect... Scripts http://localhost/templates/portal/js/jquery-1.4.2.min.js 70 KB http://localhost/includes/jscript/jquery.js 56 KB http://localhost/templates/portal/js/jquery.validate.js 36 KB http://localhost/templates/portal/js/jquery.cycle.all.min.js 23 KB http://localhost/templates/portal/js/s3Slider.js 4 KB http://localhost/templates/portal/js/jqueryslidemenu.js 2 KB http://localhost/templates/portal/js/general.js 497 bytes -------------------------------------------------- <script type="text/javascript"> $(document).ready(function() { $('#s3slider').s3Slider({ timeout: 6000 }); }); </script> <script type="text/javascript"> //Cycle plugin setting, Used in "news" div. $(document).ready(function() { $('#news').cycle({ fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, etc... next: '#next', prev: '#prev' }); }); </script> white page comes but I try also this: {literal} <script type="text/javascript"> $(document).ready(function() { $('#s3slider').s3Slider({ timeout: 6000 }); }); </script> <script type="text/javascript"> //Cycle plugin setting, Used in "news" div. $(document).ready(function() { $('#news').cycle({ fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, etc... next: '#next', prev: '#prev' }); }); </script> {/literal} the template works but the script is not running.... also i try this but still not running.... {literal} <script type="text/javascript"> jQuery(document).ready(function() { $('#s3slider').s3Slider({ timeout: 6000 }); }); </script> <script type="text/javascript"> //Cycle plugin setting, Used in "news" div. jQuery(document).ready(function() { $('#news').cycle({ fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, etc... next: '#next', prev: '#prev' }); }); </script> anyone please? Thank you in advance! 0 Quote Link to comment Share on other sites More sharing options...
Hosteris Posted May 28, 2010 Share Posted May 28, 2010 Try this {literal} <script type="text/javascript"> jQuery(document).ready(function() { $('#s3slider').s3Slider({ timeout: 6000 }); }); </script> {/literal} {literal} <script type="text/javascript"> //Cycle plugin setting, Used in "news" div. jQuery(document).ready(function() { $('#news').cycle({ fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, etc... next: '#next', prev: '#prev' }); }); </script> {/literal} it will work... 0 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.