<i id='cKSll'><tr id='cKSll'><dt id='cKSll'><q id='cKSll'><span id='cKSll'><b id='cKSll'><form id='cKSll'><ins id='cKSll'></ins><ul id='cKSll'></ul><sub id='cKSll'></sub></form><legend id='cKSll'></legend><bdo id='cKSll'><pre id='cKSll'><center id='cKSll'></center></pre></bdo></b><th id='cKSll'></th></span></q></dt></tr></i><div id='cKSll'><tfoot id='cKSll'></tfoot><dl id='cKSll'><fieldset id='cKSll'></fieldset></dl></div>
      <bdo id='cKSll'></bdo><ul id='cKSll'></ul>

      <tfoot id='cKSll'></tfoot>
    1. <small id='cKSll'></small><noframes id='cKSll'>

    2. <legend id='cKSll'><style id='cKSll'><dir id='cKSll'><q id='cKSll'></q></dir></style></legend>

      从 Joomla 中删除 hasTip javascript 代码

      时间:2023-10-16

        <small id='1ZnPX'></small><noframes id='1ZnPX'>

          <bdo id='1ZnPX'></bdo><ul id='1ZnPX'></ul>

          • <tfoot id='1ZnPX'></tfoot>
            <i id='1ZnPX'><tr id='1ZnPX'><dt id='1ZnPX'><q id='1ZnPX'><span id='1ZnPX'><b id='1ZnPX'><form id='1ZnPX'><ins id='1ZnPX'></ins><ul id='1ZnPX'></ul><sub id='1ZnPX'></sub></form><legend id='1ZnPX'></legend><bdo id='1ZnPX'><pre id='1ZnPX'><center id='1ZnPX'></center></pre></bdo></b><th id='1ZnPX'></th></span></q></dt></tr></i><div id='1ZnPX'><tfoot id='1ZnPX'></tfoot><dl id='1ZnPX'><fieldset id='1ZnPX'></fieldset></dl></div>
              <tbody id='1ZnPX'></tbody>

                <legend id='1ZnPX'><style id='1ZnPX'><dir id='1ZnPX'><q id='1ZnPX'></q></dir></style></legend>
                本文介绍了从 Joomla 中删除 hasTip javascript 代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                Joomla 2.5 添加了以下代码:

                Joomla 2.5 adds this code:

                 window.addEvent('domready', function() {
                            $$('.hasTip').each(function(el) {
                                var title = el.get('title');
                                if (title) {
                                    var parts = title.split('::', 2);
                                    el.store('tip:title', parts[0]);
                                    el.store('tip:text', parts[1]);
                                }
                            });
                            var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false});
                        });
                

                现在 - 我知道我可以编辑 html 行为文件:

                Now - I know I can edit the html behavior file:

                libraries/joomla/html/html/behavior.php 将其注释掉 - 但这不是最佳解决方案.

                libraries/joomla/html/html/behavior.php to comment it out - but this isn't the best solution.

                尝试过但都不起作用:1. http://flexicontent.org/forum/index.php?f=23&t=4909&rb_v=viewtopic2. http://www.jsnippets.net/snippets/php/remove-call-to-jtooltips

                Have tried but neither work: 1. http://flexicontent.org/forum/index.php?f=23&t=4909&rb_v=viewtopic 2. http://www.jsnippets.net/snippets/php/remove-call-to-jtooltips

                推荐答案

                这是您必须注释掉的行:

                this is the Line you have to comment out:

                 var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50....
                

                Joomla 2.5/libraries/joomla/html/*/behavior.phpxxx行注释掉

                Joomla 2.5 /libraries/joomla/html/*/behavior.php Line xxx comment it out

                Joomla 3.x/libraries/cms/html/behavior.php第287行注释掉

                Joomla 3.x /libraries/cms/html/behavior.php Line 287 comment it out

                这篇关于从 Joomla 中删除 hasTip javascript 代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:Joomla 介绍图片作为阅读更多链接 下一篇:从 Joomla 模块发出重定向

                相关文章

                1. <legend id='yvquu'><style id='yvquu'><dir id='yvquu'><q id='yvquu'></q></dir></style></legend>

                    <tfoot id='yvquu'></tfoot>

                  1. <i id='yvquu'><tr id='yvquu'><dt id='yvquu'><q id='yvquu'><span id='yvquu'><b id='yvquu'><form id='yvquu'><ins id='yvquu'></ins><ul id='yvquu'></ul><sub id='yvquu'></sub></form><legend id='yvquu'></legend><bdo id='yvquu'><pre id='yvquu'><center id='yvquu'></center></pre></bdo></b><th id='yvquu'></th></span></q></dt></tr></i><div id='yvquu'><tfoot id='yvquu'></tfoot><dl id='yvquu'><fieldset id='yvquu'></fieldset></dl></div>

                      <bdo id='yvquu'></bdo><ul id='yvquu'></ul>

                    <small id='yvquu'></small><noframes id='yvquu'>