• jquery tag


    jsp:

    <div id="tabs">
           <ul>
           <logic:iterate id="submenu" name="USER_VALUE_OBJECT" indexId="index" property="functionList" scope="session">
                <logic:equal name="submenu" property="MODULE_ID" value="A_USR">
                   <logic:equal name="submenu" property="IS_FIELD" value="0">
                       <li>
                           <a href="#tabs-${index+1}">
                               <bean:write name="submenu" property="FUNCTION_NAME" />
                           </a>
                       </li>
                   </logic:equal>
                </logic:equal>
          </logic:iterate>
          </ul>
        
         <logic:iterate id="submenu" name="USER_VALUE_OBJECT" indexId="index" property="functionList" scope="session">
                <logic:equal name="submenu" property="MODULE_ID" value="A_USR">
                   <logic:equal name="submenu" property="IS_FIELD" value="0">
                       <div id="tabs-${index+1}">
                          <iframe scrolling="no" width="100%" height="600px" style="min-height: 600px;"
                              frameborder="0" src="<%=request.getContextPath()%>${submenu.PAGE_PATH}"></iframe>
                       </div>
                   </logic:equal>
                </logic:equal>
          </logic:iterate>
    </div>

    js:

    $(function() {
     var selectedIndex = 0;
     $("#tabs").tabs({
      cache : true,
      selected : selectedIndex,
      fx : {
       opacity : 'toggle'
      }
     });
    });
  • 相关阅读:
    F
    Common Subsequence
    Neighbor House
    Robberies(背包)
    Stock Exchange(LIS最长上升子序列问题)
    Compromise(LCS)
    POJ-3356 AGTC (最短编辑距离问题)
    Monkey and Banana(LIS最长上升子序列)
    网络编程之网络协议
    面向对象高级
  • 原文地址:https://www.cnblogs.com/chengfang/p/jquery_tag.html
Copyright © 2020-2023  润新知