Jump to content

[SOLVED] Jquery slide doesn't work..


Recommended Posts

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:


image1.jpg
image2.jpg
image3.jpg


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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...