Cufon 在 Facebox 中
有人能指点一下在 Facbox 中显示 Cufon 吗?
我最近实现了 Cufon 字体,工作正常,但是当它显示在 Cufon 对话框中时,它们不会显示在顶部。我可以看到它已被替换。我知道这可能与 z-index 有关,但想知道到底是什么元素/标签?我已经尝试了 Facebox 对话框中从 #facebox 到 h1 标签的几乎所有标签。
有什么指点吗?
Does anyone have pointers for displaying Cufon in Facbox?
I have recently implemented Cufon fonts which work fine, but when it is displayed in a Cufon dialog they arent being displayed on top. I can see that it is substituted though. I know this may have something to do with z-index but wonder exactly on what element/tag? I have tried on nearly all the tags from #facebox to the h1 tag inside the Facebox dialog.
Any pointers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为这可能是因为在调用并应用 Cufon 后 Facebook 已加载到 DOM 中。
(不优雅的)解决方案是将 Cufon 调用放入要添加到 Facebox 的 HTML 中。
I think it may be because the Facebook is loaded in the DOM after you call and apply Cufon.
The (inelegant) solution would be to put a Cufon call in the HTML you're adding to the Facebox.
Cufon 应该在加载 Facebox 后启动,以便显示内容
Cufon should start after loading the Facebox for the content appears