⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 searchresultstag.txt

📁 wiki建站资源 java编写的 很好用
💻 TXT
字号:
Includes the body if a search has been performed.  This tag will also include the body in case there were ''no'' hits.  You can use the [IfNoSearchResults Tag] to check the number of hits.

----

!Usage

{{{
<wiki:SearchResults>
  HTML or JSP tags
</wiki:SearchResults>
}}}

!Parameters

None.

!Example
{{{
<wiki:SearchResults>
    <h4>Search Results</h4>
    <p>
    <i>Found <wiki:SearchResultsSize/> hits, here are the top 20.</i>
    </p>

    <wiki:SearchResultIterator id="searchref" maxItems="20">
        <wiki:LinkTo><wiki:PageName/></wiki:LinkTo>&nbsp;
        <%=searchref.getScore()%>
    </wiki:SearchResultIterator>

    <wiki:IfNoSearchResults>
         <b>No results</b>
    </wiki:IfNoSearchResults>
</wiki:SearchResults>
}}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -