magicball Posted February 7, 2011 Share Posted February 7, 2011 Hi, what i'm doing is trying to have a slide show on the home page, rather than the homepage_logo image having three different images fading.. For what i need i'm using the"jquery.cycle.all.min.js" and i put it in the template folder {$content_dir}themes/theme1/js/slide/jquery.cycle.all.min.js together with myscript.js which is just $('div#slideLogo').cycle('fade'); Now i open the header.tpl file and i write this:(i tried to put it in the header and after the body tag but both don't work)script type="text/javascript" src="{$content_dir}themes/mytheme/js/slide/jquery.cycle.all.min.js" script type="text/javascript" src="{$content_dir}themes/mytheme/js/slide/myscript.js"(i had to omit the tags to not be removed but i know how to declare a script in html)after that i go in the id center_column and i write it: Why it doesn't work?I even tried the script in a simple html page and it worked.. If you can help me i'd be grateful for the lifetime.. THANKS A LOT! Link to comment Share on other sites More sharing options...
FruitySeo Posted February 7, 2011 Share Posted February 7, 2011 Hi, try to put the content of myscript.js like this:$(document).ready(function() {//PUT THE LINE CODE HERE });And let me know if it works or not.Regards Link to comment Share on other sites More sharing options...
sendul Posted February 8, 2011 Share Posted February 8, 2011 You can try FruitySeo said... the"$(document).ready(function()"or another solution is for homepage slideshow..you can try jGaleryView free module... work well on PS 1.3 and 1.4 Link to comment Share on other sites More sharing options...
magicball Posted February 8, 2011 Author Share Posted February 8, 2011 You are the Champion my friend!!! Link to comment Share on other sites More sharing options...
magicball Posted February 8, 2011 Author Share Posted February 8, 2011 I mean, it worked Fruty Seo's way..Thanks a lotMagicball Link to comment Share on other sites More sharing options...
FruitySeo Posted February 8, 2011 Share Posted February 8, 2011 I mean, it worked Fruty Seo's way..Thanks a lotMagicball Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now