如何从父叠加层中删除叠加标签和尾随菜单
举例来说,我们已经激活了上下文链接&覆盖模块,当单击位于页面底部的节点的编辑按钮时,它将在覆盖上打开。现在,当我们查看地址栏时,链接现在看起来像这样 http://localhost:8888/node#overlay=node/25/edit%3Fdestination%3Dnode
覆盖的问题在于它将父覆盖层一直滚动到顶部,当我决定“取消”编辑时,我必须再次一直滚动到底部才能到达节点预告片。所以我需要从上面的链接中删除这部分 #overlay=node/25/edit%3Fdestination%3Dnode
现在我猜这是由 jquery bbq 功能引起的。并查看覆盖模块和她的 js 文件,我发现它非常可怕,不知道如何避免这种情况。
对于像我这样的初学者来说,我需要一些帮助来了解这个问题。
非常感谢。
Lets say for example we have activated contextual links & overlay modules and when clicking the edit button for the node, which is all the way bottom of the page, it open on overlay. Now when we look at the address bar the link now looks something like this http://localhost:8888/node#overlay=node/25/edit%3Fdestination%3Dnode
The problem with overlay is that it pushes the parent overlay to scroll all the way to the top and when I decide to "cancel" editing I have to scroll all the way to bottom again just to reach the node teaser. So I need to remove the this part from the link above #overlay=node/25/edit%3Fdestination%3Dnode
Now I guess it is being caused by jquery bbq feature. And looking into overlay module and her js files I find it very scary and dont know how to avoid this.
I need some help on where to look into this for starters like me.
Thank you very much.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以替换哈希:
You could replace the hash: