跟踪 Overlay 元素的打开
我在页面上使用雅虎用户界面覆盖层,想知道是否有任何方法可以跟踪与其交互,即使只是知道它被打开了多少次。
通过单击图像来触发叠加。
我可以在此活动中添加一些内容吗?
I'm using a Yahoo User Interface Overlay on a page and wondered if there is any way to track interaction with it, if only to just know how many times it's been opened.
The overlay is triggered by clicking on an image.
Is there something I could add to this event?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在 Overlay 上订阅名为 showEvent 的事件:
http://developer.yahoo.com/yui/docs/ YAHOO.widget.Module.html#event_showEvent
(Overlay继承Module)。
You could subscribe to the event called showEvent on your Overlay:
http://developer.yahoo.com/yui/docs/YAHOO.widget.Module.html#event_showEvent
(Overlay inherits Module).