无法隐藏 jeegoocontext 制作的上下文菜单
以下是我正在开发的网站示例的链接:
https://grenada.lumc.nl/LOVD3/shared/genes
我正在尝试隐藏由 jeegoocontext 生成的上下文菜单(将鼠标悬停在页面顶部的选项卡上时弹出的菜单,例如“放映”)。当我将鼠标悬停在选项卡上时,上下文窗口会按预期显示。但是,当我将鼠标移出选项卡而没有实际触摸上下文菜单(例如从顶部退出顶部)时,上下文菜单不会隐藏,我无法让它这样做。
如果我在退出之前将鼠标悬停在菜单上,那么它的行为就应该如此。有没有人有一个解决方案,不涉及使用与 jeegoocontext 不同的库?
编辑:
这是 jeegoocontext zip 的链接,其中原始 .js 文件位于文件夹 jeegoocontext 中。
http://www.planitworks.nl/uploads/afbeelding/components/downloads /jeegoocontext_1_3.zip
干杯,
lugte098
Here is the link to an example of my website i am working on:
https://grenada.lumc.nl/LOVD3/shared/genes
I am trying to hide a context menu that has been generated by jeegoocontext(The menu that pops up when hovering over the tabs at the top of the page, e.g. "Screenings"). When i hover over the tab, the context window appears as it should. However, when i mouseout of the tab without actually having touched the context menu(e.g. exit the top from the top) then the context menu does not hide and i can't get it to do so.
If i have mouse overed the menu before exiting, then it behaves as it should. Does anyone have a solution for this that does not involve using a different library than jeegoocontext?
EDIT :
This is the link to the jeegoocontext zip with the original .js file in the folder jeegoocontext.
http://www.planitworks.nl/uploads/afbeelding/components/downloads/jeegoocontext_1_3.zip
Cheers,
lugte098
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将脚本放在页面的页脚中,如下所示:
问题是脚本可能在 hmtl DOM 完成之前运行。
试试这个。
Try put your script in footer of your page like this:
The problem is that the script might be running before hmtl DOM be complete.
Try this.