Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6869729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:35:39+00:00 2026-05-27T03:35:39+00:00

I have created navigation menu in YUI 2.8 as below : I have also

  • 0

I have created navigation menu in YUI 2.8 as below :

Sliding windows menu

I have also animated tabs using CSS transitions. CSS transitions are not widely supported by browsers and my animations are not working in Opera, IE etc.
Since i’m already using YUI 2.8 on that page, can somebody tell me how do i animate those tabs?
When i click on any tab, it should expand in vertical dimension smoothly (animated).
Below are the properties of tabs which are going to change when i select any tab (Below properties of tabs should be animated) :

  • Paddings
  • Margins
  • Background-Color
  • Borders

Please note in above image :

  • There is little space left on right side in case #1 when 1st tab is
    selected.
  • In case #2 and case #3 there is space left on left as well as right side.
  • In case #4, there is some space left on left side when last tab is
    selected.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:35:40+00:00Added an answer on May 27, 2026 at 3:35 am

    YUI has a nice Anim utility that you can use and is cross browser. The code to implement animations is quite simple with YUI Anim since it handles most calculations you need for the transition. An example in your case would be:

    var tab1_open = new YAHOO.util.ColorAnim('tab1', {
      padding : {to: 20},
      marginLeft : {from: 0, to: 30},
      marginTop : {from: 0, to 30},
      backgroundColor : {from: '#999', to: '#cecece'},
      borderColor : {to: '#000'}
    }, 0.5);
    

    Then to start the animation simply call:

    tab1_open.animate();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created some rounded navigation tabs using CSS and am having trouble when
I have created a navigation menu where, when clicking on a link, a jquery
I have a custom UserControl that I created as a navigation menu that parses
Have created a custom navigation menu in wordpress that has some pages and some
I have created an HTML page which uses simple CSS (no javascript) for menu
Taxonomy Menu created two menus, which have not gone even after I disabled it.
I am having trouble with a navigation menu I have created. Basically, the navigation
I have created a wordpress site. The home page appears in the navigation menu
I have created a flexible navigation bar in my app that will show custom
I am new to iphone development.I have created a UIBarButtonItem on the navigation bar.I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.