How to close several fb windows at once?

Page: 1

Author Post
Member
Registered: Oct 2013
Posts: 2
I have a web where I open several fb windows at once. There is a script that ends window for which the action was taken by: parent.fb.end().

I need some command to close all fb windows after some action. Something like parent.fb.end() but for every opened window.
Administrator
Registered: Aug 2008
Posts: 3382
As per the API Reference, close all open floatboxes with fb.end(true).
Member
Registered: Oct 2013
Posts: 2
Perfect!
I noticed that I used fb version 4.23 from 31. December 2010 and it didn't work. I've changed to newer one and works without any problem :D
Thx

Page: 1