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
Release: 2016-06-24 12:25:04
Original
954 people have browsed it

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


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>
Copy after login
,
$( 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 of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template