<address id="ousso"></address>
<form id="ousso"><track id="ousso"><big id="ousso"></big></track></form>
  1. 在html中顯示長度較大的數據處理方法

    時間:2024-07-30 05:28:42 HTML DOM 我要投稿
    • 相關推薦

    在html中顯示長度較大的數據處理方法

      在html中顯示長度較大的數據時,可以將數據截取顯示,當鼠標滑過時再顯示完整數據。

      例如,下面這種情況。

    實現:

    <a title="${siteBoardInfoList.boardUrl}">

    <c:if test="${fn:length(siteBoardInfoList.boardUrl) >= 40}">

    ${fn:substring(siteBoardInfoList.boardUrl,0,20)}......${fn:substring(siteBoardInfoList.boardUrl,fn:length(siteBoardInfoList.boardUrl)-21,fn:length(siteBoardInfoList.boardUrl))}

    </c:if>

    <c:if test="${fn:length(siteBoardInfoList.boardUrl) < 40}">

    ${siteBoardInfoList.boardUrl}

    </c:if>

    </a> </p

    【在html中顯示長度較大的數據處理方法】相關文章:

    關于Dreamweaver中怎么讓html網頁中的table邊框細線顯示?08-15

    關于顯示html,行內標簽模式的淺談05-24

    jQuery(js)如何獲取文字寬度(顯示長度)09-29

    excel分級顯示的方法10-21

    實現html方法結構化10-01

    顯示器的修理方法09-27

    顯示器故障的檢查方法10-04

    Word2007文檔中顯示文本動畫的操作方法07-17

    關于jQuery實現高亮顯示的方法介紹08-20

    加速HTML5應用的九大方法08-26

    <address id="ousso"></address>
    <form id="ousso"><track id="ousso"><big id="ousso"></big></track></form>
    1. 日日做夜狠狠爱欧美黑人