Noupe Editorial Team August 12th, 2009

5 Sliding Content Techniques, Examples & jQuery How to’s

The more intuitive layout structure is designed, the better users can understand the content. Whatever content you have to present, you can present them in a more interactive & more responsive ways.

Today we would like to focus on sliding effects and how i can change the structure of a page in a truly unique and creative way. There are many transition effects that can be used to slide different contents, such as fading, horizontal sliding, vertical sliding, the list goes on. Try to pick the transition that best captures the style of your website.

In this article we’d like to present 5 smart techniques for sliding and scrolling content using the power of CSS and the beauty of jQuery.

– “Sliding Verticaly” with Button Controls

Share Point Artist has taken a truly unique approach to the “My Work” area. What they have created is an animated SlideShow showing their recent work with a nice hover effect for the “Previous” & the “Next” buttons.

The navigation options, the “Previous” & the “Next” buttons are slightly animated yet creating an appropriate atmosphere. Once one of these buttons is clicked, the content area slides vertically — showing the image of their recent work, with the description of each project in one <li> tag.

jQuery animation

HOW TO:

ImageSwitch

The main point of this plug-in is to make an easy-to-use, simple and fast plug-in to create effect when you switch between images. Minimize the arguments you need to input and still give some beatiful effects.

jQuery animation

View DemoDownload Files

– “Sliding Horizontally” with Button Controls

Over the last couple of years we have noticed a strong trend toward sliding horizontal panels or menus also known as Carousels. Creamy CSS uses a similar effect, once one of the navigation options at the left and right is clicked, a group of images in one <div> tag slides Horizontally.

jQuery animation

HOW TO:

jCarousel (Riding carousels with jQuery) –

jCarousel is a jQuery plugin for controlling a list of items in horizontal or vertical order. The items, which can be static HTML content or loaded with (or without) AJAX, can be scrolled back and forth (with or without animation).

jQuery animation

View DemoDownload Files

Moving Boxes

The big difference in this slider is that there are buttons to change panels and the panels zoom in and out when user click on the buttons at the left and right.

jQuery animation

View DemoDownload Files

– Scrolling Content

It seems to have become a common practice to automatically scroll smoothly to any id or named anchor on the current page when clicking on a same-page link. For instance, CharlieGentle uses an interesting design approach to scroll smoothly to certain parts of the page.

Initially the visitors see only “Web” panel, when one of the menu buttons is clicked, further panels is displayed. The arrows at the right and left of the site always allows users to scroll to the next or previous panel.

jQuery animation

Another great example of smooth scrolling can be seen at DesigninSocial, when one of the menu buttons is clicked, different panel is displayed.

jQuery animation

HOW TO:

jQuery.ScrollTo

Ariel Flesler has written an excellent ScrollTo plugin that lets you scroll with many configuration options to customize the animation and also the final position.

jQuery animation

View DemoDownload Files

MetaLabDesign uses another interesting approach to scroll smoothly in a visually-appealing manner. The advantage of using scrollable compared to “normal” browser scrolling is that you don’t see the browser’s default scrollbars, and you can perform scrolling in much more visually sophisticated ways.

jQuery animation

HOW TO:

Scrollable

The purpose of this library is to make it extremely easy to add scrolling functionality to a website. The main design goals of this library are to provide visual customization functionality and programmability.

jQuery animation

View DemoDownload Files

– Sliding Boxes and Captions

yaypaul uses an interesting design approach to show the title of each project when the mouse is moved over each project image.

jQuery animation

Slice Machine has a great example of showing and hiding content by sliding boxes or panes on hover event.

jQuery animation

HOW TO:

Sliding Boxes and Captions with jQuery

All of these sliding box animations work on the same basic idea. There is a div tag (.boxgrid in my css) that essentially acts as a window where two other items of your choosing “peek” through.

Set up the default starting point for the caption box. If you want it fully hidden initially, you will want the distance from the top or left to match the height or width of the window (.boxgrid), depending on which direction it will be sliding. You can also have it partially visible initially, as .caption .boxcaption illustrates.

jQuery animation

View DemoDownload Files

– Sliding Panels

Atlanticbt does a great job of grouping different links in one organized section, appears with a nice slide effect.

jQuery animation

HOW TO:

Sliding Login Panel built with jQuery

In this tutorial, we will see how to create a show/hide login/signup panel for your website using jQuery. A mootools version van be found here. Panel overlaps content instead of “pushing” it in a slicker way.

jQuery animation

View DemoDownload Files

Noupe Editorial Team

The jungle is alive: Be it a collaboration between two or more authors or an article by an author not contributing regularly. In these cases you find the Noupe Editorial Team as the ones who made it. Guest authors get their own little bio boxes below the article, so watch out for these.

96 comments

  1. excellent post! i love “Share Point Artist”, “yaypaul” and “DesigninSocial”… they are great!
    Thanks for this writting, easy to read and really helpful !

    adeux

  2. Love this list! Thank you! Anyone know if you can use jQuery for sliders with mouse control? Meaning, if I hover to the right it scrolls.

  3. I could have used this article a few weeks ago when I was searching endlessly for the right sliding content code to use on my portfolio site. I ended up using a MooTools library over Jquery, but I like some of the things posted above a little better.

  4. Intimately, the post is really the greatest on that worthw hile topic. I fit in with your conclusions and also definitely will eagerly look forward to your next updates. Simply saying thanks can not just be sufficient, for the amazing clarity in your writing. I definitely will directly grab your rss feed to stay abreast of any kind of updates. Pleasant work and also much success in your business endeavors!

  5. some nice choices here!
    though, i am still looking for something specific i hope someone here can help me find =)
    i’m trying to find an image slider with mousewheel (or smoothscroll) option, that will allow me to hover into a large image (preview)
    major plus if it could also allow me to click into a lightbox

    that was a mouthful =)
    any help appreciated
    thanks ahead!!!

  6. hi,your article is nice,but i want to slide multiple category on one page with jquety,
    ex:
    Categoryname1
    prev image1 image2 image 3 prev
    Categoryname2
    prev image1 image2 image 3 prev,
    if any one knows pls reply to [email protected]

  7. thanks for info!
    those sliding boxes, divs, even simplest hide/show div are excellent way how to put more content in few space. and not to mention looks modern and can add price when building websites for clients ;)

  8. Thanks for the taking the time and putting this together, very handy. I’m a big jCarousel user! simplicity.

Sorry, Comments are closed...