<script type="text/javascript"> <BR>/* <BR>------------------------------------------------ <BR>PVII Equal CSS Columns scripts <BR>Copyright (c) 2005 Project Seven Development <BR>www.projectseven.com <BR>Version: 1.5.0 <BR>------------------------------------------------ <BR>*/ <BR>function P7_colH(){ //v1.5 by PVII-www.projectseven.com <BR>var i,oh,hh,h=0,dA=document.p7eqc,an=document.p7eqa;if(dA&&dA.length){ <BR>for(i=0;i<dA.length;i++){dA[i].style.height='auto';}for(i=0;i<dA.length;i++){ <BR>oh=dA[i].offsetHeight;h=(oh>h)?oh:h;}for(i=0;i<dA.length;i++){if(an){ <BR>dA[i].style.height=h+'px';}else{P7_eqA(dA[i].id,dA[i].offsetHeight,h);}}if(an){ <BR>for(i=0;i<dA.length;i++){hh=dA[i].offsetHeight;if(hh>h){ <BR>dA[i].style.height=(h-(hh-h))+'px';}}}else{document.p7eqa=1;} <BR>document.p7eqth=document.body.offsetHeight; <BR>document.p7eqtw=document.body.offsetWidth;} <BR>} <BR>function P7_eqT(){ //v1.5 by PVII-www.projectseven.com <BR>if(document.p7eqth!=document.body.offsetHeight||document.p7eqtw!=document.body.offsetWidth){ <BR>P7_colH();} <BR>} <BR>function P7_equalCols(){ //v1.5 by PVII-www.projectseven.com <BR>if(document.getElementById){document.p7eqc=new Array;for(i=0;i<arguments.length;i++){ <BR>document.p7eqc[i]=document.getElementById(arguments[i]);}setInterval("P7_eqT()",10);} <BR>} <BR>function P7_eqA(el,h,ht){ //v1.5 by PVII-www.projectseven.com <BR>var sp=10,inc=10,nh=h,g=document.getElementById(el),oh=g.offsetHeight,ch=parseInt(g.style.height); <BR>ch=(ch)?ch:h;var ad=oh-ch,adT=ht-ad;nh+=inc;nh=(nh>adT)?adT:nh;g.style.height=nh+'px'; <BR>oh=g.offsetHeight;if(oh>ht){nh=(ht-(oh-ht));g.style.height=nh+'px';} <BR>if(nh<adT){setTimeout("P7_eqA('"+el+"',"+nh+","+ht+")",sp);} <BR>} <BR></script>
<script type="text/javascript"> <BR>/* <BR>------------------------------------------------ <BR>PVII Equal CSS Columns scripts <BR>Copyright (c) 2005 Project Seven Development <BR>www.projectseven.com <BR>Version: 1.5.0 <BR>------------------------------------------------ <BR>*/ <BR>function P7_colH(){ //v1.5 by PVII-www.projectseven.com <BR>var i,oh,hh,h=0,dA=document.p7eqc,an=document.p7eqa;if(dA&&dA.length){ <BR>for(i=0;i<dA.length;i++){dA[i].style.height='auto';}for(i=0;i<dA.length;i++){ <BR>oh=dA[i].offsetHeight;h=(oh>h)?oh:h;}for(i=0;i<dA.length;i++){if(an){ <BR>dA[i].style.height=h+'px';}else{P7_eqA(dA[i].id,dA[i].offsetHeight,h);}}if(an){ <BR>for(i=0;i<dA.length;i++){hh=dA[i].offsetHeight;if(hh>h){ <BR>dA[i].style.height=(h-(hh-h))+'px';}}}else{document.p7eqa=1;} <BR>document.p7eqth=document.body.offsetHeight; <BR>document.p7eqtw=document.body.offsetWidth;} <BR>} <BR>function P7_eqT(){ //v1.5 by PVII-www.projectseven.com <BR>if(document.p7eqth!=document.body.offsetHeight||document.p7eqtw!=document.body.offsetWidth){ <BR>P7_colH();} <BR>} <BR>function P7_equalCols(){ //v1.5 by PVII-www.projectseven.com <BR>if(document.getElementById){document.p7eqc=new Array;for(i=0;i<arguments.length;i++){ <BR>document.p7eqc[i]=document.getElementById(arguments[i]);}setInterval("P7_eqT()",10);} <BR>} <BR>function P7_eqA(el,h,ht){ //v1.5 by PVII-www.projectseven.com <BR>var sp=10,inc=10,nh=h,g=document.getElementById(el),oh=g.offsetHeight,ch=parseInt(g.style.height); <BR>ch=(ch)?ch:h;var ad=oh-ch,adT=ht-ad;nh+=inc;nh=(nh>adT)?adT:nh;g.style.height=nh+'px'; <BR>oh=g.offsetHeight;if(oh>ht){nh=(ht-(oh-ht));g.style.height=nh+'px';} <BR>if(nh<adT){setTimeout("P7_eqA('"+el+"',"+nh+","+ht+")",sp);} <BR>} <BR></script>
相关文章
豆包电脑版营销工作台怎么用?从账号定位到脚本生成
用Claude Code辅助剪辑视频:分镜制作与时间码返修
Starlette项目创建与基础配置步骤
快速上手Starlette:安装配置全流程
LoopForge怎么运行审批流程
本站声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门AI工具
相关专题
本专题聚焦GoFrame框架的Web开发,拆解路由注册与匹配规则、请求参数获取、参数校验与中间件执行顺序,说明统一响应、JWT鉴权、文件上传与接口文档生成的落地方式,并补充优雅重启与测试实践。
0
2026.11.17
本专题围绕GoFrame框架的安装与工具链配置展开,讲清Go版本要求、gf命令行的安装方式、代理镜像与依赖准备,说明项目初始化、热编译、交叉编译打包的做法,并整理安装阶段的常见报错与验证步骤。
20
2026.11.17
本专题整理GoFrame框架的入门知识,从模块化设计理念、环境准备到跑通第一个Web服务,讲清目录分层、配置加载、日志与中间件的用法,并对比Gin、Go-Zero的差异,帮助Go开发者建立整体认知。
0
2026.11.17
SQLAlchemy 一对多关系怎么建立?本专题整理父子表外键、relationship 双向映射、关联查询、级联删除和加载优化等相关文章,帮助你理解并实现常见的 ORM 关系建模。
0
2026.11.17
SQLAlchemy 如何增删改查?本专题整理 ORM 新增记录、条件查询、更新和删除、Session 事务提交与批量处理等实用文章,帮助你掌握 Python 数据库操作流程。
0
2026.11.17
SQLAlchemy ORM 模型怎么写?本专题整理模型类定义、Mapped 字段映射、主键与约束、表结构创建和常见报错的相关文章,帮助你从基础配置到实际建模逐步掌握 SQLAlchemy。
0
2026.11.17
本专题聚焦Go-Zero的API开发,拆解.api描述文件的语法结构、路由与分组定义、参数绑定与校验规则,说明统一响应体、JWT鉴权、跨域与接口文档生成的落地方式,并给出网关聚合与接口测试的实践建议。
180
2026.11.12
本专题围绕Go-Zero的安装与工具链配置展开,讲清Go版本要求、goctl安装方式、代理镜像、protoc依赖与环境变量设置,说明多版本共存、升级回退与CI流水线安装的做法,并整理安装阶段的常见报错与验证步骤。
120
2026.11.12
本专题整理Go-Zero的入门知识,从框架定位、环境准备到跑通第一个API服务,讲清目录分层、配置加载、日志与中间件的基本用法,并对比Gin、Kratos的差异,帮助Go开发者建立整体认知,判断它是否适合当前项目。
120
2026.11.12
热门下载
相关下载
精品课程
最新文章








