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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:54:59+00:00 2026-06-09T09:54:59+00:00

I have found numerous jQuery plugins that allow you to flip an element; SmashUp

  • 0

I have found numerous jQuery plugins that allow you to “flip” an element; SmashUp Labs’ Flip! plugin seems most popular/useful, and it is what I am currently using.

Meanwhile, there are, of course, numerous solutions here and elsewhere for toggling between two different existing divs, but none of them touch on flipping.

But what I need is for both things to happen. The problem I’m finding with Flip! is that it includes the content as part of the function call, while I actually want to use the flip to toggle between two different existing divs. I’ve gotten this to look more-or-less right using an iframe but then I’m using a fairly unnecessary iframe and I also have to wait for that frame to load after the flip, which looks bad.

Both “sides” of the flipped div are too large and complex to be reasonably inserted into the function call, and I cannot use something like $('div').text() because that creates a copy of the div rather than revealing the one that I already have.

So, does anyone know of any library that does flipping, but allows you to specify an element to be made visible after the flipping is over? Or has anyone done this kind of thing with Flip!, perhaps using its callback functions?

  • 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-06-09T09:55:01+00:00Added an answer on June 9, 2026 at 9:55 am

    You could try to put the two divs on top of the flip box, using CSS absolute position, so that the content of the div is on top of the background of the flip box, looks like it’s in the box.

    For example, you got div1 and div2, by default when page loads, div1 is displaying and div2 has style display:none, then you hook up the callbacks in Flip like:

    $("#flipbox").flip({
        direction:'tb',
        onBefore: function(){
            $('#div1').hide();
        },
        onEnd: function(){
            $('#div2').show();
        }
    });
    

    Both contents of div1 and div2 are on top of the flip box, so they looked like contained.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have found numerous sources for monitoring battery levels, but none of them describe
I have found numerous examples on uploading a file to a web server via
I have found that I have no problem using require to load something like
I have found that call stack helps in finding the line number of a
I have found that it is impossible to write ( file_put_contents or simple fwrite
I have found some jQuery codes for show content with slide effect, but none
I've found numerous solutions here at SO and elsewere that deal with deep clone
I am working on a software project and have found numerous examples where find_first_of(),
Numerous other questions ( here , here and here ) have pointed out that
I have found numerous examples on forcing he download of a file with PHP,

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.