popup troubles

popup troubles

I defined a popup:

  1. Please sign in

But the Button is always visible on each of my pages. And the rest of the popup just appears for a sec when I open it like this:

  1.         $('#popupLogin').popup();
            $( "#popupLogin" ).popup( "open" );


BTW: I have always troubles by posting code in this forum. Every code will be interpreted even when I use the code-tag.