floatbox - closing a window by clicking on image?

Page: 1

Author Post
cgntoonartist
Guest
How can I configure floatbox to allow someone to close a window, by clicking on the image, instead of clicking on the close icon?
Administrator
Registered: Aug 2008
Posts: 3382
The only way I can think of to do this is to put the image in an html page, asign that image an onclick action of parent.fb.end() and load that html page as an iframe in floatbox.
cgntoonartist
Guest
admin wrote
The only way I can think of to do this is to put the image in an html page, asign that image an onclick action of parent.fb.end() and load that html page as an iframe in floatbox.

Thanks for the quick reply!
Cheers!
cgntoonartist
Guest
admin wrote
The only way I can think of to do this is to put the image in an html page, asign that image an onclick action of parent.fb.end() and load that html page as an iframe in floatbox.

I am new to floatbox. How do I load an html page as an iframe in floatbox?
Administrator
Registered: Aug 2008
Posts: 3382
To the docs!!!
http://floatboxjs.com/#html
cgntoonartist
Guest
admin wrote

Thanks!

Page: 1