dedecms如何让鼠标移动上去后显示完整标题

方法一:
先找到文件\include\taglib\arclist.lib.php 第174行
$titlelen = AttDef($titlelen,30);
修改30这个值为200
然后就可以用:title="[field:title function='cn_substr(@me,80)'/]"> 了。

方法二:另一个办法是用CSS控制

1、定义CSS
<style>
.Tlan {
width:156px;  //控制标题长度,可修改!
align:left;
overflow:hidden;  //超出长度隐藏不显示
word-break:keep-all;  //不换行
white-space:nowrap;  //不换行
}
</style>

2、使用CSS
{[url]<a href=" http://www.software8.co">dede</a>[/url]:arclist row=3}
<div class=Tlan >·<A href="[field:arcurl/]" target=_blank title="[field:title/]">[field:title/]</A></div>
{/dede:arclist}

你可能感兴趣的:(Flash,gwt)