jquery image slider help

Hi all,

I am trying to use the imageslider from the tutorial i found here;

http://www.dreamcss.com/2009/04/create-beautiful-jquery-sliders.html

however on my site i have rearranged it slightly nd have the following structure

example_slider.html
imageslider folder ->  style.css
                             ->  images folder -> all images for slider contained here
                             -> scripts.js
js folder -> jquery.js

now when i try to run view the page i get an error in the scripts.js (using firebug) here;

 53 $.each(css_ims,function(){(new Image()).src=_siteRoot+'imageslider/images/'+this;});

(note this was
 53 $.each(css_ims,function(){(new Image()).src=_siteRoot+'images/'+this;});)

however i changed it to the above because of the folder structure change.

Can anyone explain how i can get this working please??

Many thanks in advance,

Matt.
flynnyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

flynnyAuthor Commented:
oops srry in fact it used to be

$.each(css_ims,function(){(new Image()).src=_siteRoot+css/images/'+this;});

and i have changed it to the following

$.each(css_ims,function(){(new Image()).src=_siteRoot+'css/imageslider/images/'+this;});)



0
Shinesh PremrajanEngineering ManagerCommented:
Find attached the working model of the application in the zip format.

Hope that helps..
example.zip
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mahomeCommented:
I think you're path is wrong. I didn't see a css-folder in your description, so it should be:


$.each(css_ims,function(){(new Image()).src=_siteRoot+'imageslider/images/'+this;});)

Open in new window

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
jQuery

From novice to tech pro — start learning today.