how to close fancy box

256 views
Skip to first unread message

laksh tewari

unread,
Jul 29, 2012, 1:51:44 AM7/29/12
to fanc...@googlegroups.com
fancybox is great. I wanna use this in my project but when i use i have login fancybox page opens on my home.php and after clicking submit i want to close the fancybox.I tried several tricks but it didnt work for me.So please tell me how to close fancybox window after clicking submit button?

JFK

unread,
Jul 29, 2012, 12:33:20 PM7/29/12
to fanc...@googlegroups.com
call the method $.fancybox.close whenever you need it
Message has been deleted

laksh tewari

unread,
Aug 1, 2012, 1:04:36 PM8/1/12
to fanc...@googlegroups.com

Can u explain where can i write this code.I mean in which file? it will help me alot

JFK

unread,
Aug 3, 2012, 2:02:19 AM8/3/12
to fanc...@googlegroups.com
$("#yourFormSelector").bind("click", function(){
 parent.$.fancybox.close();
});

laksh tewari

unread,
Aug 5, 2012, 7:38:20 AM8/5/12
to fanc...@googlegroups.com
I am unable to find the solution i dont know where to post this code.I have page when u click login a facybox window opens.The thing i want is that when i click submit i want it to go to next page but the fancybox window must be closed.As done in blogger when we create new blog.

--
You received this message because you are subscribed to the Google Groups "FancyBox" group.
To post to this group, send email to fanc...@googlegroups.com.
To unsubscribe from this group, send email to fancybox+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/fancybox/-/4tGa8F8M-vsJ.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

laksh tewari

unread,
Aug 5, 2012, 2:22:41 PM8/5/12
to fanc...@googlegroups.com


I am sending you the pics of my work.May be my problem is more clear.
 


blog button.bmp.jpg
fancybox.bmp.jpg

Tony Alfrey

unread,
Aug 5, 2012, 2:26:17 PM8/5/12
to fanc...@googlegroups.com
Send a link to your page.

laksh tewari

unread,
Aug 8, 2012, 1:19:21 PM8/8/12
to fanc...@googlegroups.com


thanks JFK my problem is solved.God Bless You
Reply all
Reply to author
Forward
0 new messages