Contact Us

|

FriendFeed FriendFeed

|

follow us on twitter Twitter

|

 Rss Feed

|

Favorites Add to Favorites

Sunday, January 9, 2011

Simple animated drop down menu using jquery

This tut will help you to have a simple animated drop down using jquery. Before using this please add the js file from jquery website. Refer the site http://jquery.com/ for more details. You can download the minified version or the developer version.

Once you download and include in the page then using the below steps.
HTML

<ul class="drospdown">
<li><a href="#">A Website #1</a></li>
<li><a href="#">A Website #2</a>
<ul>
<li><a href="#">Indoor</a></li>
<li><a href="#">Outdoor</a></li>
</ul>

</li>
<li><a href="#">A Link #1</a></li>
<li><a href="#">A Link #2</a></li>
<li><a href="#">A Website #3</a></li>
<li><a href="#">A Website #4</a></li>

<li><a href="#">A Link #3</a></li>
<li><a href="#">A Link #4</a></li>
</ul>

Javascript

function mainmenu(){
$(" .drospdown ul ").css({display: "none"}); // Opera Fix
$(" .drospdown li").hover(function(){
$(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown(400);
},function(){
$(this).find('ul:first').slideUp(400);
});
}
$(document).ready(function(){
mainmenu();
});

this will give you an animated drop down menu...

Labels: , , , , ,

42 Comments:

Anonymous Anonymous said...

hiiii

January 13, 2012 at 3:50:00 AM PST  
Anonymous Tom said...

Thanks! This is exactly what I was looking for for my client's website.

August 14, 2012 at 8:38:00 AM PDT  
Blogger Vel Murugan said...

Thanks. It is very useful

September 5, 2012 at 12:13:00 AM PDT  
Anonymous Anonymous said...

Thank you so much ^^

March 11, 2013 at 11:45:00 PM PDT  
Blogger hero said...

very good work dear

April 16, 2013 at 3:42:00 AM PDT  
Anonymous Anonymous said...

no demo?

May 21, 2013 at 6:44:00 AM PDT  
Anonymous Anonymous said...

it doesn't worked......... bad!!! :p

June 1, 2013 at 11:23:00 PM PDT  
Anonymous Anonymous said...

Great - works like a charm, thank you!

June 25, 2013 at 12:08:00 AM PDT  
Blogger Steeve Frank said...

For each session, we invited nearly 30 young developers with little to no prior programming experience to the Googleplex for an intense three-week course in web application development.

Toronto website designer

October 1, 2013 at 2:05:00 AM PDT  
Blogger Thiru Moorthy said...

Thanks for your grateful informations, am working in Web Design Company in Bangalore

October 17, 2013 at 8:47:00 PM PDT  
Blogger Hakim Bohari said...

I like this topic. I want know some helpful things from this side. It is one of the best post from other. It is a useful and charming post. It is extremely helpful for me.
WordPress Development

October 28, 2013 at 11:57:00 PM PDT  
Blogger Web Services Bangalore said...

This is really important and essential topic for website developers.
Web Development Companies Bangalore

November 19, 2013 at 11:49:00 PM PST  
Blogger nishu kumar said...

Thanks sir. It's awesome ,it is realy helpful

November 21, 2013 at 9:15:00 PM PST  
Blogger anshu kr said...

Thanks for the sharing of such information. we will pass it on to our readers. This is a great reading. Thanking you.
Searchinfomedia

November 25, 2013 at 9:18:00 PM PST  
Blogger Renato Crespo said...

Thanks for your nice information . Its really helpful to me . But you have to describe all the tags and attribute's so that everyone can understand it easily. Thanks for sharing .
DiseƱo web asturias

November 26, 2013 at 10:09:00 PM PST  
Blogger andrew vatts said...

Nice Blog and Providing Useful information.A very inspiring post as well as inspiring taught thus, I really appreciate it! Thanks.

Searchinfomedia

December 13, 2013 at 10:06:00 PM PST  
Blogger Web Developing Services said...

J query is very difficult programming method to me.It had been impediment to my speed of developing.
Web Design Companies | Web Designing Company

December 20, 2013 at 10:12:00 PM PST  
Anonymous Web designing and development said...

Very good thank you for sharing....

January 2, 2014 at 2:28:00 AM PST  
Blogger Swarupa Zinavo said...

This code is very useful for the programmers those who wants to make an attractive website.Good post.
Web Design Services India | Web Design Companies Bangalore

January 19, 2014 at 10:44:00 PM PST  
Blogger Alana Shaikh said...

offering all kind of Website designers in bangalore and also dealing with best and quallity website developers bangalore in bangalore..

January 21, 2014 at 9:33:00 PM PST  
Blogger Linda Grase said...

J question is extremely troublesome modifying technique to me.it had been hindrance to my pace of creating.


E-Commerce Website Design//Creative Apps And Webs

February 25, 2014 at 11:25:00 PM PST  
Blogger Bangalore RWD said...

By hiring dedicated magento developers,we could easily develop the magento website as effective as well as that website should be have great looking to the visitors.
Web Design Companies | Responsive Design Companies

April 17, 2014 at 11:19:00 PM PDT  
Blogger saransh khanna said...


Great post, thanks for sharing..


Web Design India
Php Development Company

August 8, 2014 at 10:31:00 AM PDT  
Anonymous Omega Softwares said...

This is very useful information. Thank you for sharing with us!!
CMS website development company and Web Designing in Mumbai


December 29, 2014 at 12:01:00 AM PST  
Anonymous Omega Softwares said...

Good one ........i really like this post!! I will tell you about a company which do website designing at very low cost. For more : Web Designing

December 29, 2014 at 12:03:00 AM PST  
Anonymous osiel webs said...

Cheap and Best with Quality with forOsiel Webs
PPC Expert For Tech Support
ppc tech support
ppc management experts | technical support ppc expert

December 29, 2014 at 8:49:00 AM PST  
Blogger Jitendra singh said...

very nice post thank you for post
Website Designing in India

June 3, 2015 at 11:10:00 PM PDT  
Blogger zain said...

Find Affordable Web Development Services Australia
Our Web design value Packages are Flexible and Effective. Customised attention to details in Web Design & Development Process helps us reach your Target Audience at a Personal Level which enables Call to Action from your clients.We Believe a Website should be visually appealing as well as Effective in generating convertible leads for you.Talk to us today to find out how you can add value to your business and how we can help you welcome your customers to your online door step.

June 30, 2015 at 3:07:00 AM PDT  
Blogger Nexevo Technologies http://www.nexevo.in said...

Its the awesome post..this post found the lot of information..So i have a share to my website development team..thank you for sharing the useful information...Web Design Company in Bangalore | Web Development Company in Bangalore

October 12, 2015 at 5:24:00 AM PDT  
Blogger Rohit P said...

Very useful html codes , really helpfull

will share on my blogs

thanks for sharing

Get best training on digital marketing training with experts check here
seo training in bangalore

June 16, 2016 at 6:02:00 AM PDT  
Blogger Jeffy said...

This is extremely helpful info!! Very good work. Everything is very interesting to learn and

easy to understood. Thank you for giving information. SEO Company in

Chennai

June 22, 2016 at 10:35:00 PM PDT  
Blogger hari andro said...

Web development is the great concept which is explained only by experts only..You have done a great work by posting this..We hope you will keep posting web development concepts..Thank you for this post..
Engineering Colleges In Chennai , Nautical Science Colleges In Chennai

February 9, 2017 at 4:06:00 AM PST  
Blogger katie middleton said...

Good post. Fight lovers around the world will find it very interesting! Thanks.Old Age Home in Coimbatore, Charitable Trust in Coimbatore

February 23, 2017 at 2:46:00 AM PST  
Blogger katie middleton said...

Very nice chance and service.. People should make use of it.keep posting posts like this...Very much informative...Hotels in Kumbakonam,Budget Hotels in Kumbakonam

February 27, 2017 at 3:25:00 AM PST  
Blogger katie middleton said...

Good post. Fight lovers around the world will find it very interesting! Thanks.Hotels in Kumbakonam,Budget Hotels in Kumbakonam

February 27, 2017 at 3:28:00 AM PST  
Blogger katie middleton said...

The posted notes is handsomely in writing. I have bookmarked you for keeping abreast with your new dispatched letterss.Hotels in Kumbakonam,Kumbakonam Hotels

March 11, 2017 at 2:49:00 AM PST  
Blogger katie middleton said...

This nice and helpful blog....Thanks for this post, Thanks for posting this instructive blog...well done.SPA IN KUMBAKONAM, SPA IN TRICHY, SPA IN THANJAVUR

April 7, 2017 at 3:10:00 AM PDT  
Blogger katie middleton said...

This is very useful post for me and it helps me a lot. Thank you so much for this and have a great time..ITFOFINDIA,ITF OF INDIA

April 19, 2017 at 3:00:00 AM PDT  
Blogger 20point 7 said...

Thank you for taking time & sharing the insights. Really a great post. Will share and bookmark the same. Appreciate the effort in educating us. Web design company bangalore | Web development company in bangalore

May 14, 2017 at 8:44:00 AM PDT  
Blogger Anjana Sharma Blog Reviewer said...

As a blog reviewer I have to verify all contents both in Blog spots and WordPress Blogs for uniqueness and readers friendly .I found best content in this blog as well as your article is most useful to all regular visitors .I would suggest this blog for further promotion via google. Thank you for posting such a useful article.
Restaurants in JLT | Indian Restaurants in JLT | Restaurants in Jumeirah
Restaurants in Jumeirah Lake Towers | Indian Restaurants in Jumeirah

June 16, 2017 at 1:25:00 AM PDT  
Blogger Jones Jebakumar said...

This comment has been removed by the author.

November 28, 2017 at 1:28:00 AM PST  
Blogger Jones Jebakumar said...

Thank information admin code part really useful them thank you admin and get more codeing part and simple codeing step to be display our next blog For more details:Find Girlstrichy matrimony,bharat matrimony,SC Matrimony,Brahmin Matrimony.

November 28, 2017 at 1:36:00 AM PST  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home