Suggest a Snippet Login Register
  • LOG IN:

    Not a member? JOIN NOW!
     Username                   Password
    Remember me Recover password
DevSnippets Design Community & Snippets Gallery
  • Subscribe by RSS
>
  • Webdesign
    • Design
    • HTML5
    • lists
    • Menu
    • Navigation
    • Portfolio
    • Showcase
    • Template
    • Tooltip
    • Tutorial
    • webdesign
  • Web development
    • AJAX
    • CodeIgniter
    • CSS
    • CSS3
    • Database
    • Javascript
    • jQuery
    • Mootools
    • MySQL
    • PHP
    • PHP Framework
    • plugins
    • WordPress
    • WordPress Hacks
  • Inspiration
    • Fonts
    • Icons
    • Inspiration
    • Mac
    • Mac apps
    • Photography
    • Wallpapers
  • Snippets
In {Articles} -6th May- {70 Comments}

10 Transition Effects: The art of Showing/Hiding Content

Delivering informative structure is the primary task an interactive user interface should be able to cope with. 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. In this article we’d like to present 10 smart javascript techniques for showing and hiding content using different JS libraries.

1. Simple Toggle with CSS & jQuery

Expand-collapse Transition Effects

A simple toggle tutorial with an explanation of how to switch the “open” and “close” graphic state. The markup is pretty straight forward, where the h2 tag is a link that “trigger” the toggle effect. Below the h2, we will have our container where we hold the content.

<h2 class="trigger"><a href="#">Toggle Header</a></h2>
<div class="toggle_container">
	<div class="block">
		<h3>Content Header</h3>
		<!--Content-->
	</div>
</div>

2. jquery-fade-infade-out

Expand-collapse Transition Effects

A nice fade in fade out effect you can add to your website. The effect fades an element to 30% on arrival of the website, then when you hover over it, it fades to 100%. The effect can be assigned to basically anything in a website wether it be an image, text, a link or even a div.

$(document).ready(function(){
$("ELEMENT HERE").fadeTo("slow", 0.3);
$("ELEMENT HERE").hover(function(){
$(this).fadeTo("slow", 1.0);
},function(){
$(this).fadeTo("slow", 0.3);
});
});

3. How to Mimic the iGoogle Interface

Expand-collapse Transition Effects

In this tutorial you will learn how to create a customizable interface with widgets. Each widget can be collapsed, removed and edited. The widgets can be sorted into the three seperate columns by the user (using a drag and drop technique). The finished product will be a sleek and unobtrusively coded iGoogle-like interface which has a ton of potential applications using jQuery’s UI library and specifically the “sortable” and “draggable” modules.

4. Show/hide a nice Login Panel using Mootools 1.2

Expand-collapse Transition Effects

In this tutorial, we will see how to create a show/hide login/signup panel for your website using Mootools 1.2

5. jQuery pageSlide

Expand-collapse Transition Effects

jQuery pageSlide is a plugin for jQuery that slides the viewable webpage off-screen, revealing and populating a secondary interaction pane. It may be used in a similar manner to Lightbox, where screen real estate and centralization of the user experience are a concern.

  • The primary window is reserved for content; secondary interactions do not require additional space on the page — the area they need is created and removed on demand.
  • Because the user can see the original window, they have a greater likelihood of retaining focus, and can easily return to the previous task.

6. Liquid expandable section with rounded corners using CSS

Expand-collapse Transition Effects

This tutorial explains how to design a nice liquid expandable section with rounded corners (top-left, top-right, bottom-left, bottom-right) using some lines of CSS, HTML and JavaScript code.

7. How to Make a Smooth Animated Menu with jQuery

Expand-collapse Transition Effects

This menu has a smooth animation using “easing” effect. There are two actions in the code used here. When the mouse moves over a menu item, that item starts an animation where it expands to 150px tall over 0.6 seconds. The easing applied through the plugin is ‘easeOutBounce’ which causes the box to “bounce” a little as it reaches the end of the animation (”out”). When the mouse is moved off the animation to the starting size is triggered.

8. Lazy Load

Expand-collapse Transition Effects

Lazy loader is a jQuery plugin written in JavaScript. It delays loading of images in (long) web pages. Images outside of view port (visible part of web page) wont be loaded before user scrolls to them. Using lazy load on long web pages containing many large images makes the page load faster. Browser will be in ready state after loading visible images. In some cases it can also help to reduce server load.

9. MOOSLIDE – AJAX CONTENT SLIDE

Expand-collapse Transition Effects

MooSlide’s functional solution is to present any contentis. It is a small and slim ajax based extension or replacement of the common “lightbox” that can be found on nearly every page. It is based on the mootools framework.

10. The Sexy Curls jQuery Plugin

Expand-collapse Transition Effects

Sexy Curls jQuery plugin is an open source solution which lets you share in the beauty of the page fold feature with ease. It uses the jQuery UI & its resizable package.

Category: Article | Leave a Comment | 70 Comments

Related Posts

  • 10 jQuery Transition Effects: Moving Elements with Style 10 jQuery Transition Effects: Moving Elements with Style
  • 10 Best Sources of Ajax/Javascript Examples and Demos 10 Best Sources of Ajax/Javascript Examples and Demos

70 Comments, Add Comment or Ping

  1. Jay August says:
    May 6, 2009 at 4:24 pm

    Very nice resource, thanks! The lazyload works excellent on big WordPress generated galleries. Saves me on bandwidth and visitors have faster pages. Great!

  2. Max says:
    May 6, 2009 at 10:31 pm

    Nice resource indeed – very useful so thanks for sharing! :-)

  3. speaking.be says:
    May 7, 2009 at 12:01 am

    Nice summary of transition effects!
    You’ve been bookmarked :)

  4. patternhead says:
    May 7, 2009 at 12:25 am

    Great post, bookmarked for future ref, thanks :D

  5. Budi Irawan says:
    May 7, 2009 at 12:36 am

    great article, dude. It is really useful. Thanks

  6. zone1creative says:
    May 7, 2009 at 12:46 am

    Very useful article.

    Now I need to find a site that could benefit from some of these features.

  7. Leafy Designz says:
    May 7, 2009 at 2:37 am

    Brilliant Collection.
    A real Gem.

    Cannot wait to apply most of them.

  8. joão says:
    May 7, 2009 at 2:49 am

    Wow, brilliant article!
    Just delicious’d it! :)

  9. MarcoBarbosa says:
    May 7, 2009 at 3:10 am

    Nice! :D

    Thanks for sharing!

  10. Michi says:
    May 7, 2009 at 3:45 am

    Awesome list!
    Thanks a lot.

  11. munkey says:
    May 7, 2009 at 4:19 am

    very nice list… thanks!

  12. Carlos Martins says:
    May 7, 2009 at 5:57 am

    Nice compilation. Definitely helpful for improving our sites. :)

  13. Art2code says:
    May 7, 2009 at 7:56 am

    Nice collection ! thx

  14. Dinesh V says:
    May 7, 2009 at 10:20 am

    Thanks a ton man.. iGoogle interface really super. Great compilation work. This is first time I’m visiting your site. I do come regularly here aft. It’s promise..

  15. dlv says:
    May 7, 2009 at 11:03 am

    really great collection, i know many of this but others not… thanks!
    to bookmarks

  16. Vinicius Camara says:
    May 7, 2009 at 11:09 am

    Congratulations. Great collection of examples.

  17. Abdel says:
    May 7, 2009 at 12:27 pm

    Thanks. this is a great collection of transitions!

  18. Nebel says:
    May 7, 2009 at 12:47 pm

    Very nice… Thanks for is collection :D

  19. Mohammad Riazi says:
    May 7, 2009 at 1:22 pm

    WOW, great resource…planning to use on next site!

  20. Biz says:
    May 7, 2009 at 1:28 pm

    Very informative lecturing on code application.

  21. dusterD says:
    May 7, 2009 at 3:46 pm

    nice one! thanks

  22. Chris says:
    May 7, 2009 at 9:37 pm

    Very, very nice showcase of effects. A couple of these I know I’ll be using a lot. Thanks!

  23. Scott Petrovic says:
    May 8, 2009 at 10:06 am

    I love it! A lot of these features are quickly replacing a Flash’s need.

  24. Mouse Will Play says:
    May 9, 2009 at 7:52 am

    Great collection – looking forward to trying some of these out. Stumbled!

  25. joyologo design shop 2.0 says:
    May 9, 2009 at 8:31 am

    nice collection, thanks for resources..

  26. Majra says:
    May 10, 2009 at 1:59 pm

    Ну у вас либо талант писать, либо это стыбрено!

  27. ryanm says:
    May 11, 2009 at 2:19 am

    This is a nice list. By the way can anyone give me a link on how to save the position of the drag/drop feature just like the bbc homepage. I been searching the internet to no avail. Thanks

    The list is very helpful though..

  28. alfonso says:
    May 11, 2009 at 7:53 am

    The lazyload is toooooo Great!

  29. Silver Firefly says:
    May 12, 2009 at 2:13 pm

    Thanks for this list. I’ve bookmarked it and I’ll be using a couple of these techniques on my website.

  30. bnc | err0rs.info says:
    May 13, 2009 at 2:38 am

    Some effects added to my site. :P

    One more nice thing: mParallax ;]

  31. Vu Tran says:
    May 17, 2009 at 2:02 pm

    I love this. Thanks for this great resource!

  32. Kathy says:
    May 20, 2009 at 2:24 pm

    Awesome, just as I was struggling (as always) to figure out how to hide/show login at top of my page in my website rework. This is a great post which I found through @DannyOutlaw.. thanks for sharing :)

    Kathy
    @shrinkgurl

  33. Danish Backer says:
    May 26, 2009 at 5:35 am

    Thanks Dude!

  34. Sklep Wędkarski says:
    May 31, 2009 at 1:40 am

    Simple Toggle #1, light, simple but very impressive.

  35. Sura says:
    May 31, 2009 at 2:37 pm

    Где-то я уже похожее читала, пррчём слово в слово.

  36. MegaFill says:
    June 6, 2009 at 10:37 am

    Nice post! thnx

  37. Jack says:
    June 8, 2009 at 4:23 am

    Thanks. Bookmarked and Stumbled !

  38. traffic ticket says:
    June 11, 2009 at 1:25 pm

    Excellent list and resources! Just learning about jquery now and it seems to be great! Thanks

  39. M.Hartz says:
    June 11, 2009 at 2:20 pm

    Impressive list: thumbs up and I’ll use them in the next month. I like smoothe menu jQuery the most I think.

  40. Jaspal Singh says:
    June 15, 2009 at 11:51 pm

    Excellent list of ajax effects, thanks for sharing.

  41. stephen h says:
    June 16, 2009 at 1:18 pm

    bookmarked… thanks!

  42. Todd says:
    June 17, 2009 at 2:20 pm

    Definitely valuable list to hang on, bookmarked. Just don’t change the URL :)

  43. Roro says:
    June 18, 2009 at 9:47 am

    Very useful indeed! Thanks for this :)

  44. cyberick says:
    June 18, 2009 at 12:29 pm

    Thx for sharing.

  45. Cam says:
    June 18, 2009 at 2:04 pm

    awesome! using one of these already and testing another

  46. Креатив says:
    June 20, 2009 at 6:24 am

    Very nice pageSlide ! thx!

  47. Parro says:
    June 24, 2009 at 11:27 am

    Great collection… to my delicious!

Trackbacks/Pingbacks

  • popurls.com // popular today
  • Internet Brain » 10 Transition Effects: The art of Showing/Hiding Content
  • 10 Transition Effects: The art of Showing/Hiding Content : Design Newz
  • Bookmarks for May 6th • Blog Archive • noahcarter . com
  • randalflagg.net
  • Innovation in Web Interactions | UI and us
  • links for 2009-05-07 « Stand on the shoulders of giants
  • Wackeldackel » Blog Archive » Transition Effects
  • vot.eti.me
  • Murmp - 10 Transition Effects: The art of Showing/Hiding Content
  • MakinMo's Tech Blog
  • bookmark post: from devsnippets « hugbug files
  • links for 2009-05-08 « boblog
  • Weekly Links | Shaun Preston
  • jsssc - 一些完美的窗口渐隐弹出效果
  • links for 2009-05-08 « Minesa IT
  • Daily Links | AndySowards.com :: Professional Web Design, Development, Programming, Hacks, Downloads, Math and being a Web 2.0 Hipster?
  • Simple Toggle with CSS & jQuery « Vandhematharam
  • Fabián Link » 10 Efectos de transicion: El arte de mostrar y ocultar contenido
  • links for 2009-05-11 « My Weblog
  • Design links for the week « Best Design Content
  • Bookmarks added by Alex Horstmann on May 12th | BlobFisk.com
  • Daily Digest for June 22nd | Loudmouthman

Sponsored Ads

ADVERTISE HERE

Sponsored Ads

DevSnippets Latest Articles

  • Using Illustrations in WebDesign: 30 Creative Examples
    Tags: Illustration, Inspiration, webdesign Jul/20/2010
  • Dark and Mysterious High Quality Desktop Wallpapers
    Tags: Dark, Wallpapers Jun/23/2010
  • 10+ Most Beautiful Island Photography on Earth
    Jun/16/2010
  • 35 High Definition iPad Wallpapers For A Great Experience
    Tags: Inpiration, Wallpapers Jun/09/2010
  • 30 Unique Logo Designs That Actually Say Something
    Tags: Branding, Inspiration, Logo Jun/02/2010
  • Creating 10 Most-Used Javascript Techniques Using Pure CSS Styling
    Tags: CSS, Tutorial May/31/2010
  • 40 Creative Advertisements With Unexpected Ideas
    Tags: Advertising, Inspiration May/27/2010
  • Getting Slim, Spicy, & WordPress-Ready with Top 10 jQuery Plugins
    Tags: jQuery, WordPress May/25/2010
  • Spicing Up Your Tumblr Experience: Beautiful Themes, Icons and Apps
    Tags: Templates, Tumblr May/19/2010
  • 20 NEW & FREE High Quality (X)HTML/CSS Templates
    Tags: CSS, Design, Template, Tutorial May/17/2010
More Articles →

Design Community News

  • Is It Worth Shifting To Photoshop CS5?

    SloDive
    Jul/04/2010
  • Free Wordpress Theme Vector Nature Template

    templates4all
    Jul/04/2010
  • Best jQuery plugins – June 2010

    Spider8411
    Jun/22/2010
  • Freebies: Vintage Mega Pack 10 Samples from Designious.com

    Doink
    Jun/22/2010
  • CSS3 Animations, the Power Back to CSS Part 1: Transitions

    Teylor Feliz
    Jun/22/2010
  • Create a Photo-Realistic Candle with Basic Photoshop Tools

    Frank
    Jun/22/2010
  • Credit cards and payment icon set

    icon sets
    Jun/22/2010
  • 40 Refreshing Nature Inspired Web Designs

    Brukhar
    Jun/22/2010
  • How to Create a Tumblr Theme (Code Structure)

    Dainis Graveris
    Jun/21/2010
  • The Simple Photoshop CS5 Cheat Sheet

    Frank
    Jun/21/2010
More News →

Our Friends

  • Graphic Design School

  • Designm.ag

Top ↑

Add a Snippet / Design News

© 2008-2010 DEVSNIPPETS | Made by Noura Yehia | Submit Snippet | About| Subscribe | Advertise
In partnership with (mt) Media Temple