Solution to the problem of too long JSP display text

Copy codeThe code is as follows:
    <td height=”60px;” width=”20%” align=”right” valign=”top”>
< font style = “font weight: bold;” > Title: < / font >
    <td height=”60px;” width=”80%” align=”left” valign=”top”>
        <a href=”#” style=”color: white;” onmousemove=”showdiv(‘span_div’,”,event)” onmouseover=”showdiv(‘span_div’,”,event)” onmouseout=”showdiv(‘span_div’,’none’,event)”>
    <c:if test=”${fn:length( schedule.content EQ null?’none ‘: schedule.content )>70}”>${fn:substring( schedule.content EQ null?’none ‘: schedule.content ,0,70)}…</c:if></a>
        <span><c:if test=”${fn:length( schedule.content EQ null?’none ‘: schedule.content )<=70}”>
        ${ schedule.content Null? ‘none’: schedule.content }</c:if></span>
     <div style=”display:none”>
            ${ schedule.content EQ null?’none ‘: schedule.content }
<script type=”text/javascript”>
Function showdiv1 (objstr, STR, EV) {/ / displays the object according to the mouse position, and the parameter EV is event
Var Objx, objy; / / position of object (x, y)
Var mousex = 10; / / the distance between the (x) horizontal position of the object and the width of the mouse
Var mousey = – 2; / / the height of the (y) vertical position of the object from the mouse
                    var obj = document.getElementById(objstr);
           ; / / show or hide objects

Recommended Today

Libp2p RS version 0.3.0 introduction

V0.3.0 released on 4.23, usingAsyncRead & AsyncWriteTo replace ourReadEx & WriteEx & SplitEx; SimplifiedKad/DHTImplementation logic. modify ReadEx & WriteEx & SplitEx: At first we tried to useasync-traitTo define their own IO operationsTraitFor more pure useasync/awaitTo write code. withReadExFor example, it is roughly as follows: #[async_trait] pub trait ReadEx { async fn read(&mut self, buf: &mut […]