How to Build the Trendy New jQuery Sliders: New Premium Tut
plus

How to Build the Trendy New jQuery Sliders: New Premium Tut

Tutorial Details
  • Languages Covered: jQuery
  • Difficulty: Intermediate - Advanced
  • Estimated Completion Time: 1 Hour
Download Source Files

Final Product What You'll Be Creating

jQuery sliders are becoming more popular day by day; with more free and premium sliders pouring in regularly. Knowing how an advanced slider like this works is becoming a must. In this week’s premium tutorial, we are going to create a full-fledged jQuery slider which supports inline comments. Let’s get started! Help give back to Nettuts+ by signing up for a Premium membership.

Sample 2

Join Net Premium

NETTUTS+ Screencasts and Bonus Tutorials

For those unfamiliar, the family of Tuts+ sites runs a premium membership service. For $19 per month, you gain access to exclusive premium tutorials, screencasts, and freebies from Nettuts+, Psdtuts+, Aetuts+, Audiotuts+, Vectortuts+, and CgTuts+ For the price of a pizza, you’ll learn from some of the best minds in the business. Become a Premium member to read this tutorial, as well as hundreds of other advanced tutorials and screencasts.

Abhin Sharma is 5thSenseLabs on Codecanyon
Add Comment

Discussion 31 Comments

  1. wizylabs says:

    Will join premium for this tut (when I get some money :D)

  2. David says:

    The CSS in your tut relies on a class named “.JWslider” but in the HTML there is nothing with that class. Can you please explain that? The has an ID of “test” and then the list items with no ID or class.

  3. esranull says:

    good job but for premium Members

  4. Looks like a good tut. I look forward to going through this. I only wish it were a screencast :( but I guess everything can’t be a screencast lol.

    • Abhin Sharma says:
      Author

      I will try to give screencast on future tutorials :)

      • That would be awesome. I just prefer screencasts because I seem get more out of them because you typically get explanations and demo’s along the way while it’s being built. Nothing wrong with articles though!

  5. cryx says:

    Do you have a preview for this for non-members? Just a small demo of what you’re creating?

  6. iTechRoom says:

    Please place some demo for General People.

  7. Matt27 says:

    Pretty good tutorial and i’m glad you have made a tutorial on how to create a slideshow from scratch. there are a few things missing in this tut that i’d have liked to have seen though.

    1. I’d like it to be easier to set which effect you want on the transitions so it doesn’t just chose from a selection.

    2. It would have been nice if there was just a simple fade effect between slides. personally i think that a lot of the more complex transitions look a bit gimmicky.

    anyway, it is a good tutorial. but for those with not that much javascript knowledge, its very hard to customise this slider to do what you want.

    (if someone could let me know how you set which transitions to use i’d be a happy person! :D )

    • Abhin Sharma says:
      Author

      Hi, glad you like the tutorial… in the tutorial I have mentioned option effect , if you give it a numeric value between 0 to 5 only that transition ( based on switch’s case no ) will be repeated, I should have been more detailed on that and for the fade option here is the code …

      case 6:current.find(“img”).fadeIn(“slow”,function(){

      endeffect($(this));

      });

      also be sure to change var ch = Math.floor(Math.random()*7);

      • Matt27 says:

        Thank you so much, and no, not your fault. more my lack of knowledge of javascript and lack of time to tinker around with it myself. thank you for this info :) i will have a play around when i have time. and will probably use this in a project i’m currently working on :)

  8. cahva says:

    Very nice tutorial. Love the effects!

  9. ben says:

    You should provide the final product demo to all users. If they see it in action and really love it, they may be more apt to sign up for a premium membership.

  10. Shawn Tysco says:

    Love it, written well. I dont mind spending the extra cash a month (on my low income) on the premium service. I have to admit, I believe I learned more here than when I took my bachelors. Good thing I am going for my MBA, but I will always enjoy coding.

  11. Ben- says:

    I thought a screencast is a condition for a premium tut? :( Anyway, good job and thanks!

  12. Steve Maggs says:

    As the first comment said, worth joining premium for, which I’ll do now, the tutorials keep getting better and more valuable so no problem justifying the charge.

    Can’t wait to do this…

  13. Shane Parker says:

    For those complaining about not seeing a demo, I’m not sure how one would go about creating a demo and keep people from ripping off the code. Obviously, if you post a demo the js/css/html are all available to the browser, so it’d be easy to steal this without having to pay for the Plus tutorial.

  14. Excellent tut – excellent post

    Thanks for sharing

  15. Pete says:

    Awesome tutorial. Thank you.
    I do have a tiny request though (if that won’t be too difficult of course).
    I’m still a beginner with web design, but I was wondering if it would be hard to modify your slider to have each image be a hyperlink that could link to a different web site?

    Cheers.

  16. monsoon says:

    Its a fantastic slideshow, not only are the effects great but incredibly smooth, well done! Its easily customiable to fit different sized images.

  17. Jon says:

    Not sure if anyone can answer this, since it’s been a while since this came out, but some of the transitions are not working for me. Is it a problem with jquery 1.4.4 and this script?

    • John says:

      Hi Jon
      I’m having the same problem but with jQuery 1.6.2 did you find a fix for 1.4..4 if so could you tell me what the problem was, thanks

Add a Comment

To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.