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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:09:17+00:00 2026-06-14T20:09:17+00:00

Hello I have a site I am working on an for this site I

  • 0

Hello I have a site I am working on an for this site I am making three panels flip when they are clicked on, you can think of it as a flip card concept. I have everything working but I realized that since the div itself is wrapped in an anchor tag and has a display of “block”. What I have is the content inside that are links to external pages but since the div is clickable it only reads that anchor. I tried using the z-index but that doesn’t seem to help as all.

This is my markup:

What is ElectedFace?

<div class="flip_content"  id="flip1">
 <div class="content-info">
  <h5 style="text-align:center; font-size:20px; margin:3px 0 0 0; font-family:Arial, Helvetica, sans-serif;"><span class="blue">Elected</span><span class="red">face</span></h5>
  <p>electedface is America's free social network delivering more real time news, faster   than any other website.</p>
  <p>electedface connects subscribers to their elected officials with active electedface accounts</p>

<p>electedface empowers subscribers to share their voice and turn social networking into constructive civil action.</p>
  </div>
</div>

<a href="#" class="flip_switch" data-content_container="#flip2" data-flip_container="#flip_box2">
<div class="flipbox" id="flip_box2">
   <h4>Getting Started</h4>
</div>
</a>

 <div class="flip_content" id="flip2">
 <div class="content-info">
  <p> There are three ways to connect:</p>
     <p><a href="http://google.com">Read top news stories</a> and <a href="http://google.com">Read local news stories</a></p>
     <p><a href="http://google.com">Connect to your elected officials and start a group in your community</a></p>
     <p><a href="http://google.com">Register for free membership</a></p>
     </div>
</div>
<a href="#" class="flip_switch" data-content_container="#flip3" data-flip_container="#flip_box3">
<div class="flipbox" id="flip_box3">
   <h4>Next Steps</h4>
</div>
</a>
 <div class="flip_content" id="flip3">
 <div class="content-info">
  <p>Elected officials: activate your electedface account, connect to your electorate, and enlist supporters.</p>
  </div>
</div>

Heres my Javascript

    <script type="text/javascript">
        $(function(){
           $('.flip_switch').bind("click",function(){
              var element = $(this);
              var content = element.data("content_container");
              var flip_container = element.data("flip_container");
              var active_flipbox = $('.activeFlip');

              if(element.hasClass('activeFlip')){
                  //If the flipbox is already flipped
                  flip_container.revertFlip();  
              }
              else{
                  if(active_flipbox){
                    //Revert active flipbox
                    active_flipbox.revertFlip();
                    //Remove active status
                    active_flipbox.removeClass('activeFlip');
                  }
                  $(flip_container).flip({
                    direction: 'rl',
                    color: '#c8cbce',
                    content: $(content).html(),
                    speed:100,
                    onBefore: function(){
                      $(flip_container).addClass('activeFlip'); 
                    }  
                  });
              }

               return false;  
           });      
        });
    </script>
  • 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-14T20:09:18+00:00Added an answer on June 14, 2026 at 8:09 pm

    It seems to me your problem is so called bubbling

    What you need is (most likely 🙂 :
    http://api.jquery.com/event.stopPropagation/

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

Sidebar

Related Questions

Hello all at StackOverflow.. Reasonably new to this site, but I have had nothing
Hello I have issues with jquery on my site. It was working fine till
I'm working with an example from this site on OSX and I have no
Hello my smart friends i have this contact form that i am working on.
Hello I have like this 2 tables class User public int UserId{get;set;} { ....
hello i have this question i was trying to find a way to call
Hello I have this code class Triplets { public: int nVal1; int nVal2; NodeT
I have a small chunk of code I can't seem to get working. I
i have been working on a new .net MVC site and have integrated some
I'm working on the Tabs example from Google Android Developers site (http://developer.android.com/resources/tutorials/views/hello-tabwidget.html) but I'm

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.