开发者社区> 问答> 正文

jquery tab 点击时才加载页面不点击不加载页面这个怎么写啊?

<%@page language="java" isELIgnored="false" contentType="text/html; charset=gbk" pageEncoding="gbk"%> 
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/> 
<fmt:setBundle basename="bundles.project-resources"/> 
<html> 
<head> 
<title>Edit <fmt:message key="project.title"/></title> 
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/jquery/themes/default/easyui.css"> 
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/jquery/themes/icon.css"> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/jquery/js/jquery-1.7.1.min.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/jquery/js/jquery.easyui.min.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/jquery/locale/easyui-lang-zh_CN.js"></script> 
</head> 
<body> 
<div id="contentarea">       
    <div id="lb"><div id="rb"><div id="bb"><div id="blc"> 
    <div id="brc"><div id="tb"><div id="tlc"><div id="trc"> 
    <div id="content"> 
       <div id="tt" class="easyui-tabs" style="height:1000px;width:1100px;"> 
         <div title="<fmt:message key="ongoing"/>" closable="true" selected=true> 
           <iframe scrolling="yes" frameborder="0"  src="${pageContext.request.contextPath}/ongoingProjectList" style="width:100%;height:100%;"></iframe> 
         </div> 
         <div title="<fmt:message key="end.project"/>" closable="true"> 
            <iframe scrolling="yes" frameborder="0"  src="${pageContext.request.contextPath}/endProjectList" style="width:100%;height:100%;"></iframe> 
        </div> 
        <div title="<fmt:message key="stoped.project"/>" closable="true"> 
            <iframe scrolling="yes" frameborder="0"  src="${pageContext.request.contextPath}/stoppingProjectList" style="width:100%;height:100%;"></iframe> 
        </div> 
        <div title="<fmt:message key="terminated.project"/>" closable="true"> 
            <iframe scrolling="yes" frameborder="0"  src="${pageContext.request.contextPath}/terminatedProjectList" style="width:100%;height:100%;"></iframe> 
        </div> 
       </div> 
        <div class="clear">&nbsp;</div> 
    </div> 
    </div></div></div></div> 
    </div></div></div></div> 
</div> 
</body> 
</html>

这个四个tab点击时才加载页面不点击不加载页面这个怎么写啊?

展开
收起
a123456678 2016-07-07 14:18:48 3717 0
1 条回答
写回答
取消 提交回答
  • 把四个TAB置空,增加点击事件,

    点击事件的处理中,根据不同的Tab,动态添加相应的IFRAME

    2019-07-17 19:52:45
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关课程

更多

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载