tags:

views:

172

answers:

2

Hey there. I want to use Flip (http://lab.smashup.it/flip/) for one of my projects. But I want the links to make the flip action inside the divs that are going to be flipped. I stumbled across a question here and the reply was very helpful, and by using that codes I managed to achieve what I want. But now the issue is when the page first loads it automatically flips before clicking any link. I don't know much about jQuery. So I would appreciate any help.

+1  A: 

make sure you are not calling trigger() or click() on document.ready

Mahesh Velaga
+1  A: 

If you're using exactly the same code from the question you've mentioned, the problem is this:

$(document).ready(function(){
   $("#flip1").click(f2b);
   $("#flip2").click(b2f);
   $("#flip2").click();
});

You're calling .click on document.ready

j.