Print Function for FloatBox ?

Page: 1

Author Post
tobtob
Guest
I just stumbled across FloatBox. I've been using Facebox but can't find a way to add a "Print" function to it that will just print the Facebox Window. Has anyone implemented a javascript "Print" function with Floatbox ? Looking at the demo's it looks like this might work with the IFrame options.
My application is simply this:
- Click on a link to display a coupon in a "lightbox/Floatbox" window.
- the page is PHP and dynamically displays the coupon as HTML
- I need to allow the user to simply print "Just the coupon". (Facebox prints the coupon and the underlying html page"

Thanks in advance for any help. I'm about to download the code and try it out.
Administrator
Registered: Aug 2008
Posts: 3382
I've added a print function into the next release code. It's short, works quite well and successfully tests across all browsers that I can find. That release will happen in a week or two.

Page: 1