brilliant. seems to work fine. Only problem is, how do I delay this action for about 2 seconds? ie. I don't want it to occur immediately, but after a 2 second delay rather
Kristinn Sigmundsson wrote: > > You could do a $(".jqmClose").click(), only thing I could come up with > without having spend much time with jqModal > > //Kristinn > > On 2/19/07, fatjoez <[EMAIL PROTECTED]> wrote: >> >> Hi there. >> >> I've actually had a "similar" problem today. I'm creating a login box >> overlay with jqModal & on successfull login I wanted to close the login >> box >> & remove the gray overlay background. >> >> My problem was that in the documentation for JqModal all I could find for >> closing jq windows was the style link which you click to close. But no >> actual function you could call within the ready functions to do it. >> >> Looked through the jqModal file and found jqmClose as you mentioned. >> >> I ran: $('#ex1a').jqmClose(); >> >> where my div is: <div class="jqmWindow" id="ex1a"> >> >> Problem is, when I run that function, the jqm window closes, but the >> background overlay remains. So theres still a grey bg overlay ontop of >> the >> page. >> >> Contacted author but no reply as of yet! Hopefully someone can clarify >> >> -- >> View this message in context: >> http://www.nabble.com/jqModal%3A-closeClass-and-href--tf3245957.html#a9036649 >> Sent from the JQuery mailing list archive at Nabble.com. >> >> >> _______________________________________________ >> jQuery mailing list >> discuss@jquery.com >> http://jquery.com/discuss/ >> > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/jqModal%3A-closeClass-and-href--tf3245957.html#a9037794 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/