我有一个FB应用程序,显示我们的页面粉丝的粉丝门控优惠券。 当你去打印优惠券时,Facebook的右侧边栏会自动插入页面中间。
我试图仅通过javascript打印iFrame,但Facebook并不喜欢这样。 我假设他们也不允许弹出窗口,但我们也不想做弹出窗口。
有没有其他方法来欺骗页面更友好的打印?
I have a FB app that displays a fan-gated coupon for our page's fans. When you go to print the coupon, Facebook's right-hand sidebar plops itself right in the middle of the page.
I tried to print the iFrame only via javascript, but Facebook didn't like that. I'm assuming they wouldn't allow a popup either, but we wouldn't want to do a popup anyway.
Is there any other way to trick the page into being more print-friendly?
最满意答案
我已经遇到类似的问题,
我的解决方案是创建一个链接,将用户带出Facebook,打印友好的代码优惠券。 您可以使用<a target="_blank">或仅将window.top.location更改为可打印页面。
希望这有帮助!
I've already run into similar issue to,
My solution have been to create a link bringing user out of Facebook with a print friendly code coupon. You could use <a target="_blank"> or just changing the window.top.location to your printable page.
Hope this help!
更多推荐
发布评论