Student/image/Common.js
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
// JScript 文件
//关闭层
function CloseFrameDiv()
{
window.parent.document.all.ddd____meizzDateLayer.style.display = 'none';
window.parent.document.all.ddd____meizzDateLayer.src="about:blank";
}
//上传图片
function UploadImageItems(items,value,add)
{
if(add==0)
window.parent.document.getElementById(items).value=value;
else
{
if(window.parent.document.getElementById(items).value=='')
window.parent.document.getElementById(items).value=value;
else
window.parent.document.getElementById(items).value += ',' + value;
}
}
//选择日历
function CalendarSelect(items,value)
{
window.parent.document.getElementById(items).value=value;
}
//产品顶部连接点击效果
function ProductHeadClick(obj,position)
{
for(var i=1;i<=6;i++)
{
document.getElementById('productInfoTable_'+String(i)).style.display='none';
document.getElementById('productInfoTD_'+String(i)).className='productHead';
}
document.getElementById('productInfoTable_'+String(position)).style.display='block';
obj.className='productHeadClick';
}
//返回上一页
function PageBack()
{
history.back(-1);
}
//处理图片自适应大小
function imageAutoSize(obj,width){
var image=new Image();
image.src=obj.src;
var imagew = image.width;
var imageh = image.height;
if(imagew>width){
obj.height = (imageh*width)/imagew;
obj.width = width;
}
}
function check(obj,items)
{
if(obj.checked)
{
if(document.getElementById(items).value=='')
document.getElementById(items).value = obj.value;
后面还有 25 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
