Home >Web Front-end >HTML Tutorial >The world is entangled. . Brothers and sisters_html/css_WEB-ITnose

The world is entangled. . Brothers and sisters_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:25:04947browse

<li style='cursor:pointer;' onclick='preBeSwitch(this);' id='current_BE_ID'><%=com.huawei.data.analyse.sys.util.HtmlEncodeUtil.htmlEncoding(currentBE)%></li>


This is the original. That currentBE may be 100 characters. In this way, it won't look ugly if you hold it up first. I want to display a few characters, put the mouse on it, and the title will display the complete name. How to do it?
I spent a long time to get it like this. It is not the desired effect.
<li style='cursor:pointer;' onclick='preBeSwitch(this);' id='current_BE_ID'><div id='currentBE_div' style='width:50px;position:absolute;'><%=com.huawei.data.analyse.sys.util.HtmlEncodeUtil.htmlEncoding(currentBE)%></div></li>
,
$( function(){
document.getElementById("currentBE_div").style.height=50;
document.getElementById("currentBE_div").style.overflow="auto";


})
Pure novice, thank you


Reply to discussion (solution)

Rub. . A blind cat kills a mouse. Touched. .

ca Before I understood your question, I saw you touched it~~~~

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn