📄 tabcontrolwithiframes.jsp
字号:
<!------------------------------>
<!-- Tab Control with Iframes -->
<!------------------------------>
<%
// Set a string to tell the common initTabbedMembers function to put an Iframe inside the DIV in the tab control.
String innerDivContents = "<IFRAME STYLE=\"margin:0; padding:0; visibility:hidden;\" BORDER=\"0\" NAME=\"oMIframe\" ID=\"oMIframe\" WIDTH=\"100%\" ></IFRAME>";
// String innerDivContents = "";
%>
<%@ include file="/includes/tabControlCommon.jsp" %>
<script language="JavaScript">
// Forces a an inactive tab to become active. That means that the
// tab itself changes state and the <div> is rendered.
//
// Any previously active tab is made inactive first.
//
/*
CTabber.prototype.MakeActive = function(){
var tab = this.GetActiveTab();
if(tab) tab.MakeInActive();
this.GetTab().className = "oMTabOn";
oMTData.appendChild(this.GetContent());
this.GetContent().style.display = "block";
this.SetScrollPosition(0); // reset the scroll bar.
oMTData.scrollTop = this.GetScrollPosition();
if ( this._targetURL )
document.all["oMIframe"].src = this._targetURL;
// save the state to a userData store.
goPersist.SetAttribute("selectedTab", this.GetCaption());
}
*/
</script>
<!------------------------------------->
<!-- End of Tab Control with Iframes -->
<!------------------------------------->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -