0

Can anyone write a simple code for a slider that fades???? i want to do one just like the one on mbusa.com.... can anyone assist???

Thanks in advanced!

5
Contributors
11
Replies
12
Views
5 Years
Discussion Span
Last Post by JorgeM
Featured Replies
  • Check out jQuery cycle. It is a jQuery library for slideshows with a variety of transitions. It is pretty easy to set up too. Read More

  • 1

    pretty sure you are still going to need at least JavaScript. jQuery is just a JavaScript library to make it easier to do client side processing. if you take a look at the page source on mbusa.com, you'll find quite a bit of references to jQuery and JS scripts. Read More

  • Again you should check out jquery cycle. Beyond adding the libraries and correctly naming the divs on the page there is one script (a couple of lines) that you need to add to the page to set it all in motion. Read More

1

Check out jQuery cycle. It is a jQuery library for slideshows with a variety of transitions. It is pretty easy to set up too.

0

thanks for that info, but I don't want a plugin... I want to do it purely of html5 and css3... and very little JQuery :)

1

pretty sure you are still going to need at least JavaScript. jQuery is just a JavaScript library to make it easier to do client side processing.

if you take a look at the page source on mbusa.com, you'll find quite a bit of references to jQuery and JS scripts.

0

I know I'm gonna need it, but I don't want to write too much of jqeury... So you have any possible solutions... source codes? sites? tutorials? anything?

1

Again you should check out jquery cycle. Beyond adding the libraries and correctly naming the divs on the page there is one script (a couple of lines) that you need to add to the page to set it all in motion.

0

But what if I wanted to create it myself? I don't want to have the troubles of a plugin because I want maximum control... so you have any sources but thanks for that fact...

0

If you wish for a basic fading effect, I may have a way to do it.
1. Use jquery to set the z-index of the pictures.
2. use fade() and reappend the image behind the last one while decreasing z-index of all pictures during the effect.

0

Can you write a snippet of code? I am learning bits and bits of jquery while I learn php/mysql

0

Thanks for the resource :)
Problem with the jquery file is that when I open it gives me a massive document (jquery-1.4.2.min.js)... is this supposed to happen?

0

Instead of hosting your own jQuery file, it makes more sense to reference it from a CDN. The reason is that more than likely, a visitor has already downloaded the jQuery file and has it cached. When the visitor accesses your site, downloading jQuery will not be necessary.

Read more..
http://docs.jquery.com/Downloading_jQuery

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.