obj/Debug/Package/PackageTmp/Edit/editor/table.htm

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>插入表格</title>
		<style type="text/css">
			body, td, span, div, input, select {
				font-size: 12px;
				font-family: "宋体", "Courier New", Courier, monospace;
				margin: 0px;
			}
			.input {
				border: 1px solid #7E9DB9;
				width: 38px;
				margin-left: 4px;
				height: 18px;
			}
			.select {
				height: 18px;
				border: 1px solid #7E9DB9;
				margin-left: 4px;
			}
		</style>
		<script language="JavaScript">
		<!--
		window.isIE = (navigator.appName == "Microsoft Internet Explorer");
		if(window.isIE) {
			if(navigator.userAgent.indexOf("Opera")>-1) window.isIE = null;
		}
		else {
			if(navigator.userAgent.indexOf("Gecko")==-1) window.isIE = null;
		}
		function $(sID) {
			return document.getElementById(sID);
		}
		function adjustDialog(){
			var w = $("tabDialogSize").offsetWidth + 6;
			var h = $("tabDialogSize").offsetHeight + 25;
			window.dialogLeft = (screen.availWidth - w) / 2;
			window.dialogTop = (screen.availHeight - h) / 2;
		}
		window.onload = init;
		function init() {
			adjustDialog();
			$("tablerow").select();
		}
		function chk_table () {
			
			if($("tablerow").value > 50) {
				alert("为保证页面效果,您可以插入的最大表格为50行X20列!");
				$("tablerow").select();
				return;
			}
			if($("tablecol").value > 50) {
				alert("为保证页面效果,您可以插入的最大表格为50行X20列!");
				$("tablecol").select();
				return;
			}
			var widthType = $("tabletype").value == "pixels" ? "" : "%";
			var html = '<table border="' + $("tableborder").value + '" cellpadding="' + $("tablepadding").value + '" ';
			html += 'cellspacing="' + $("tablespacing").value + '" style=width:"' + $("tablewidth").value + widthType + '">\n';
后面还有 71 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。