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 6761465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:11:40+00:00 2026-05-26T14:11:40+00:00

I am using YUI panel for dipslaying some contents on the ui which has

  • 0

I am using YUI panel for dipslaying some contents on the ui which has structure somehting like below. I am using YUI Panel fade effect to hide the panel when closed.

<div ... YUI panel related stuff>
   <div class="hd"
   <div class="bd"
      <div class="someinformation" >
      <div class="image"><img ... /><div>
      <div class="image"><img ... /><div>
      <div class="image"><img ... /><div>
      <div class="image"><img ... /><div>
...
...

Reecntly i have tried to integrate the CSS3 Transitions into the UI for images. As per functionality every image has the delete button clicking on which user is able to remove the image from the system. To add some animation i have added following CSS class changes.

.image{
    ...
    ... 
    -moz-trnansition:all 1s;
    ...

}

When user click on the close button i am setting the opacity of the image division to 0 which is giving it nice effect.

However then problem starts. When user clicks on close button for the YUI panel panel hides and once its hidden i found that the transition for the images starts and then it hides after 1 seconds. Which is kind of ungly that panel is closed and after that only the images show up again on the screen and hides slowly.

Sure it has to do something with the transition as after remvoing transition it works just fine. So if anyone has faced it or know how to fix it please give your inputs.

  • 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-26T14:11:40+00:00Added an answer on May 26, 2026 at 2:11 pm

    Perhaps more creative CSS rules would work, along with some YUI configuration.

    Unfortunately, I don’t know YUI, but my idea is to set a class on the container div for the panel ”before” it closes, and removes it after it has completely closed. Call the class “closing” or similar.

    e.g. in pseudo-code:

    YUI.Panel.setOptions({ beforeClose: function() {
        thisYuiPanel.addClass('closing');
    }, afterClose: function() {
        thisYuiPanel.removeClass('closing');
    });
    

    Then in your CSS, only have the CSS3 animation run if the panel isn’t closing.

    .image {
        ...
        ... 
        -moz-transition:all 1s;
        ...
    }
    
    .closing .image{
        -moz-transition:all 0s;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If your server has SSL enabled, and you're using YUI uploader, is it possible
Problem in YUI:I am using YUI grid,my dataset contains some special character.i bind my
For some reason whenever I do an async request using YUI and specify it
I am having trouble while using the YUI panel as a dialog. I have
I am using YUI 2 autocomplete , I have my own web service which
I am using YUI Panel http://developer.yahoo.com/yui/container/panel/ to design an application. I want to execute
I am using YUI 2 components in YUI3 using the standard way YAHOO has
So I'm using YUI to add some animations in my application triggered when a
I have a YUI panel that I am using to display flash vids throughout
I am using YUI reset/base, after the reset it sets the ul and li

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.