优化面板搜索结果 [英] Refinement panel search result

查看:63
本文介绍了优化面板搜索结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有带有托管元数据术语()的优化面板,并减少了长度()并通过将鼠标悬停在 一切都很好

I have refinement panel with the Managed metadata term ()and reduced the length () and displaying actually text by mouse over and everything looks fine 

但是当我点击显示更多,然后再次显示全文.

推荐答案

您是否使用了一些JavaScript代码来减少文本的长度?

Did you using some JavaScript code to reduce the length of text?

请尝试将代码添加到setInterval方法中.

Please try to add your code into setInterval method.

<script src="//code.jquery.com/jquery-1.12.4.min.js"></script>
<script type="text/javascript">


(function(){ setInterval(function(){ //添加自定义代码. } 500); }); </script>
(function () { setInterval(function(){ //add the custom code. },500); }); </script>

如果上述方法不能满足您的要求,建议您提供更多有关如何减少文本长度的信息,以供进一步研究.

If above method can't meet you, I suggest you provide more information about how to reduce the length of text for further research.

最好的问候,

丹尼斯


这篇关于优化面板搜索结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆