需要做出如此做,如果它溢出Verticaly。带领我走向正确的方向。JS检查内容溢出verticaly
〔实施例:
.contents {
width: 200px;
height: 100px;
border: 1px solid black;
}
<div class="contents">
CONTENT CCC<br>
CONTENT CCC<br>
CONTENT CCC<br>
CONTENT CCC<br>
CONTENT CCC<br>
CONTENT CCC<br>
CONTENT CCC<br>
CONTENT CCC<br>
<div>
<!-- This would result to do an action. ->
[This question](http://stackoverflow.com/questions/6853293/how-do-i-get-the-height-of-a-divs-full-content-with-jquery)可能会有所帮助。 – Draco18s
@MikeMcCaughan检查了它,它决定了水平不垂直的溢出。 –
@ Draco18s它确实有帮助。谢谢。 –