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

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

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

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

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

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

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

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

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

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

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.
May 06, 2025 @ 16:24:49
Very nice resource, thanks! The lazyload works excellent on big WordPress generated galleries. Saves me on bandwidth and visitors have faster pages. Great!
popurls.com // popular today
May 06, 2025 @ 17:00:32
popurls.com // popular today…
story has entered the popular today section on popurls.com…
Internet Brain » 10 Transition Effects: The art of Showing/Hiding Content
May 06, 2025 @ 18:12:34
[...] 10 Transition Effects: The art of Showing/Hiding Content | DevSnippets [...]
10 Transition Effects: The art of Showing/Hiding Content : Design Newz
May 06, 2025 @ 18:45:48
[...] 10 Transition Effects: The art of Showing/Hiding Content [...]
Bookmarks for May 6th • Blog Archive • noahcarter . com
May 06, 2025 @ 19:01:48
[...] 10 Transition Effects: The art of Showing/Hiding Content | DevSnippets - [...]
May 06, 2025 @ 22:31:14
Nice resource indeed - very useful so thanks for sharing!
randalflagg.net
May 06, 2025 @ 22:58:41
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 …
Innovation in Web Interactions | UI and us
May 06, 2025 @ 23:46:34
[...] love the innovation in how content is animated in and out using these 10 transition effects for sites. Wish there was more innovation, sharing and reuse, like this in desktop [...]
links for 2025-05-07 « Stand on the shoulders of giants
May 07, 2025 @ 00:00:50
[...] 10 Transition Effects: The art of Showing/Hiding Content | DevSnippets (tags: transitions effects webdesign design) [...]
May 07, 2025 @ 00:01:53
Nice summary of transition effects!
You’ve been bookmarked
May 07, 2025 @ 00:25:54
Great post, bookmarked for future ref, thanks
May 07, 2025 @ 00:36:58
great article, dude. It is really useful. Thanks
May 07, 2025 @ 00:46:06
Very useful article.
Now I need to find a site that could benefit from some of these features.
Wackeldackel » Blog Archive » Transition Effects
May 07, 2025 @ 01:18:35
[...] Schnüffel, Schnüffel [...]
May 07, 2025 @ 02:37:59
Brilliant Collection.
A real Gem.
Cannot wait to apply most of them.
May 07, 2025 @ 02:49:47
Wow, brilliant article!
Just delicious’d it!
May 07, 2025 @ 03:10:55
Nice!
Thanks for sharing!
May 07, 2025 @ 03:45:03
Awesome list!
Thanks a lot.
May 07, 2025 @ 04:19:58
very nice list… thanks!
May 07, 2025 @ 05:57:44
Nice compilation. Definitely helpful for improving our sites.
vot.eti.me
May 07, 2025 @ 07:31:42
10 Transition Effects: The Art Of Showing/Hiding Content…
Excellent overview of methods to display and hide content in an intuitive and user friendly way.
“Delivering informative structure is the primary task an interactive user interface should be able to cope with. The more intuitive layout structure is d…
May 07, 2025 @ 07:56:38
Nice collection ! thx
May 07, 2025 @ 10:20:36
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..
Mar 26, 2025 @ 04:23:46
this is just test please ignore as you want.
May 07, 2025 @ 11:03:13
really great collection, i know many of this but others not… thanks!
to bookmarks
May 07, 2025 @ 11:09:44
Congratulations. Great collection of examples.
May 07, 2025 @ 12:27:06
Thanks. this is a great collection of transitions!
Murmp - 10 Transition Effects: The art of Showing/Hiding Content
May 07, 2025 @ 12:46:17
[...] 10 Transition Effects: The art of Showing/Hiding Content Submitted 25 seconds ago by sweeneytodd Tags: javascript! web development! 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. [...]
May 07, 2025 @ 12:47:17
Very nice… Thanks for is collection
May 07, 2025 @ 13:22:01
WOW, great resource…planning to use on next site!
MakinMo's Tech Blog
May 07, 2025 @ 13:22:23
[...] techniques for showing and hiding content using different JS libraries.Get the low-down here:http://devsnippets.com/article/10-transition-effects-the-art-of-showinghiding-content.html May [...]
May 07, 2025 @ 13:28:13
Very informative lecturing on code application.
May 07, 2025 @ 15:46:51
nice one! thanks
bookmark post: from devsnippets « hugbug files
May 07, 2025 @ 19:19:15
[...] 10 Transition Effects: javascript, jquery, and CSS [...]
May 07, 2025 @ 21:37:47
Very, very nice showcase of effects. A couple of these I know I’ll be using a lot. Thanks!
links for 2025-05-08 « boblog
May 08, 2025 @ 03:05:20
[...] 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. [...]
Weekly Links | Shaun Preston
May 08, 2025 @ 07:21:59
[...] 10 Transition Effects: The art of Showing/Hiding Content - Speaks for itself! With a bunch of demos too! My personal fav has to be page slide. [...]
May 08, 2025 @ 10:06:07
I love it! A lot of these features are quickly replacing a Flash’s need.
jsssc - 一些完美的窗口渐隐弹出效果
May 08, 2025 @ 12:27:37
[...] 节选自原文:http://devsnippets.com/article/10-transition-effects-the-art-of-showinghiding-content.html [...]
links for 2025-05-08 « Minesa IT
May 08, 2025 @ 13:02:40
[...] 10 Transition Effects: The art of Showing/Hiding Content | DevSnippets (tags: jquery javascript ajax webdesign css effects tutorials tutorial transition) [...]
Daily Links | AndySowards.com :: Professional Web Design, Development, Programming, Hacks, Downloads, Math and being a Web 2.0 Hipster?
May 08, 2025 @ 18:01:33
[...] 10 Transition Effects: The art of Showing/Hiding Content | DevSnippets AWESOME transition effects (tags: transition design webdesign css javascript jquery website slider) [...]
May 09, 2025 @ 07:52:48
Great collection - looking forward to trying some of these out. Stumbled!
May 09, 2025 @ 08:31:07
nice collection, thanks for resources..
Simple Toggle with CSS & jQuery « Vandhematharam
May 09, 2025 @ 19:52:50
[...] the toggle effect. Below the h2, we will have our container where we hold the content. view plaincopy to [...]
Fabián Link » 10 Efectos de transicion: El arte de mostrar y ocultar contenido
May 10, 2025 @ 12:09:39
[...] the toggle effect. Below the h2, we will have our container where we hold the content. view plaincopy to [...]
May 10, 2025 @ 13:59:52
Ну у вас либо талант писать, либо это стыбрено!
May 11, 2025 @ 02:19:50
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..
May 11, 2025 @ 07:53:44
The lazyload is toooooo Great!
links for 2025-05-11 « My Weblog
May 11, 2025 @ 16:03:08
[...] 10 Transition Effects: The art of Showing/Hiding Content | DevSnippets (tags: jquery webdesign javascript css resources reference effects inspiration) [...]
May 12, 2025 @ 14:13:58
Thanks for this list. I’ve bookmarked it and I’ll be using a couple of these techniques on my website.
May 13, 2025 @ 02:38:54
Some effects added to my site.
One more nice thing: mParallax ;]
Design links for the week « Best Design Content
May 13, 2025 @ 11:53:14
[...] 10 Transition Effects The art of Showing/Hiding Content. [...]
Bookmarks added by Alex Horstmann on May 12th | BlobFisk.com
May 16, 2025 @ 10:07:11
[...] 10 Transition Effects: The art of Showing/Hiding Content | DevSnippets [...]
May 17, 2025 @ 14:02:02
I love this. Thanks for this great resource!
May 20, 2025 @ 14:24:29
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
May 26, 2025 @ 05:35:23
Thanks Dude!
May 31, 2025 @ 01:40:09
Simple Toggle #1, light, simple but very impressive.
May 31, 2025 @ 14:37:13
Где-то я уже похожее читала, пррчём слово в слово.
Jun 06, 2025 @ 10:37:44
Nice post! thnx
Jun 08, 2025 @ 04:23:20
Thanks. Bookmarked and Stumbled !
Jun 11, 2025 @ 13:25:32
Excellent list and resources! Just learning about jquery now and it seems to be great! Thanks
Jun 11, 2025 @ 14:20:12
Impressive list: thumbs up and I’ll use them in the next month. I like smoothe menu jQuery the most I think.
Jun 15, 2025 @ 23:51:21
Excellent list of ajax effects, thanks for sharing.
Jun 16, 2025 @ 13:18:43
bookmarked… thanks!
Jun 17, 2025 @ 14:20:23
Definitely valuable list to hang on, bookmarked. Just don’t change the URL
Jun 18, 2025 @ 09:47:47
Very useful indeed! Thanks for this
Jun 18, 2025 @ 12:29:53
Thx for sharing.
Jun 18, 2025 @ 14:04:13
awesome! using one of these already and testing another
Jun 20, 2025 @ 06:24:37
Very nice pageSlide ! thx!
Daily Digest for June 22nd | Loudmouthman
Jun 22, 2025 @ 04:03:48
[...] 10 Transition Effects: The art of Showing/Hiding Content | DevSnippets — 1:29pm via [...]
Jun 24, 2025 @ 11:27:33
Great collection… to my delicious!
Feb 25, 2025 @ 23:48:57
aww..
good job!
I do like them.
thank u.
Mar 26, 2025 @ 07:26:07
Thanks for this great effects. I will implement this i my new website.
Apr 06, 2025 @ 13:28:24
Lazyload helps me a lot