Link to home
Start Free TrialLog in
Avatar of artismobile
artismobileFlag for United States of America

asked on

Another Novice website build question, what did I do wrong for my VEGAS jQuery?

This will be many in a series of questions but it's the only way I learn.  I am building a site and I'm trying to add a "Coming soon" slide show. It's a PHLY product that should look like this:

http://themeforest.net/item/phly-versatile-coming-soon-template/13117735

So, I uploaded my files with Filezilla to Hostgator.  I made 4 slides the first one   computer mock up 1.jpg

Did I do it right?
How many pictures am I allowed?
Below is my example that I am trying to do.
Thanks


$(window).load(function() {

    setTimeout(function() {

        $('body').vegas({
            slides: [
                { src: 'computer mock up 1.jpg' },
                { src: 'img/slide-2.jpg' },
                { src: 'img/slide-3.jpg' },
            ],

            // Delay beetween slides in milliseconds.
            delay: 5000,

            // Chose your transition effect (See the documentation provided in your download pack)
            transition: 'fade'
        });
Avatar of carloselfaite
carloselfaite

first you need to install jquery as that code you post is not pure javascript. something like this or check how to nstall jquery.

<script type="text/javascript" src="jquery-2.0.3.min.js"></script>
ASKER CERTIFIED SOLUTION
Avatar of artismobile
artismobile
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of artismobile

ASKER

My error