參數
無控制屬性
無範例
根據條件顯示圖示。arc:case 元素與 company_name 屬性值匹配 “CompanyA” 和 “CompanyB”,如果滿足其中一種,則會採取與此情況關聯的操作。另請參閱
- arc:select:編寫一個多選 ArcScript 程式碼塊。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
定義 arc:select 中的回退塊,當沒有 arc:case 值與所選值匹配時執行。
<arc:select value="[company_name]">
<arc:case value="CompanyA">
<img src="http://www.companya.com/favicon.ico" />
</arc:case>
<arc:case value="CompanyB">
<img src="http://www.companyb.com/favicon.ico" />
</arc:case>
<arc:default>
<img src="http://www.myhosting.com/generic.ico"/>
</arc:default>
</arc:select>