<% @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"> </div>
</div>
</div></div></div></div>
</div></div></div></div>
</div>
</body>
</html>
这个四个tab点击时才加载页面不点击不加载页面这个怎么写啊?
点击Tab的时候,调用脚本更改IFrame的src就可以了
######往里面动态加载iframe,有就不加了###### 把四个TAB置空,增加点击事件,
点击事件的处理中,根据不同的Tab,动态添加相应的IFRAME
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。