tabcontrolwithiframes.jsp

来自「国外的一套开源CRM」· JSP 代码 · 共 43 行

JSP
43
字号
<!------------------------------>
<!-- 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 + =
减小字号Ctrl + -
显示快捷键?