简体   繁体   English

在getorgchart jquery插件中,如何删除屏幕底部显示的getorgchart超链接

[英]In getorgchart jquery plugin how to remove the getorgchart hyperlink present at the bottom of the screen

I am trying to use getorgchart jquery plugin. 我正在尝试使用getorgchart jquery插件。 And I want to remove the 'GetOrgChart' hyprlink which is showing in the bottom of the screen. 我想删除显示在屏幕底部的“ GetOrgChart”超链接。 I have tried removing it from getorgchart.js file but it is still showing up. 我尝试将其从getorgchart.js文件中删除,但仍在显示。 Is it part of the theme? 这是主题的一部分吗? How Can I stop showig it on my webpage??? 如何在网页上停止showig?

Please help.. 请帮忙..

Try this, It worked for me. 试试这个,它为我工作。

Add following code in your html page. 在您的html页面中添加以下代码。

 $(document).ready(function(e) {

    setInterval(function(){ $('a[title="GetOrgChart jquery plugin"]').hide(); }, 10);

 });

打开文件getorgchart.js并找到eval(eval("String.fromCharCode(blah3x...)"))并将其删除或添加注释。

Try This, 尝试这个,

In your orgchart.html page, paste this snippet 在您的orgchart.html页面中,粘贴此代码段

<div style="display: block; position: absolute; bottom: 15px; right: 0;z-index: 214748336480 !important; height: 25px; width: 100px; background: #333;"></div>

Change width, height and background to your liking. 根据您的喜好更改宽度,高度和背景。 But make sure z-index is higher than what I have mentioned, this is the important point here. 但是请确保z-index高于我所提到的,这是这里的重点。 Hope this helps. 希望这可以帮助。 Thank you. 谢谢。

为了删除getorgchart徽标,您需要购买许可证http://www.getorgchart.com/Buy

I use the following to temporarily disable eval() , which GetOrgChart uses to keep the logo on display: 我使用以下命令暂时禁用eval() ,GetOrgChart使用它使徽标保持显示状态:

<script>__eval__ = eval; eval = function () { };</script>
<script src="getorgchart.js"></script>
<script>eval = __eval__;</script>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM