当前位置: 首页 > news >正文

免费建设网站入驻搜索排名优化

免费建设网站入驻,搜索排名优化,工商代办公司,网站 怎么 做压力测试首先是原版三层框架的html&#xff1a; <html> <head> <title>THPWP</title> </head> <!-- 切记frameset不能写在body里面&#xff0c;以下代表首页由三层模块组成&#xff0c;其中第一层我是用来放菜单高度占比14%&#xff0c;中间的用作主…

首先是原版三层框架的html:

<html>
<head>
<title>THPWP</title>
</head> <!-- 切记frameset不能写在body里面,以下代表首页由三层模块组成,其中第一层我是用来放菜单高度占比14%,中间的用作主体高度占比70%,剩下的底部用于放置友情链接等等占比16% --><frameset rows="14%,70%,16%" cols="*" frameborder="NO" framespacing="0"><frame src="title.jsp" name="topFrame" scrolling="NO" noresize /><frame src="main.jsp" name="mainFrame" scrolling="Yes" noresize/>	  <frame src="link.jsp" name="foot" scrolling="NO" noresize/>	</frameset>
</html>

变更div后:

<html>
<head>
<title>测试替换frame</title>
<style type="text/css">*{margin: 0;padding: 0;}td{text-align: center;}body{text-align:center;background-color:#edf7fd;}td{text-align: center;}.cursorPointer td:hover {  background-color:#e6ff90; cursor: pointer; color: red; }	a{color: #0066FF;}td a:link {text-decoration: none;color: #00527f;font-size: 10px;font-family: Arial,Helvetica,sans-serif;}
</style>
<script>function ajaxtoxx(ur){/*ajaxtoxx方法是用来替代a标签跳转到其中一个frame,例如之前页面的<a href="xxx" target="mainFrame" >XXX</a>,当点击时会在frame名为mainFrame的层中显示返回的页面,但替换frame为div之后就需要使用load方法进行加载了,无论是springMvc还是struts返回页面都可以直接使用load(api接口地址)进行加载,也可以使用ajax访问接口并把返回的页面使用$('#main').html(返回值)进行加载,但是有load这种简单的方法何乐而不为*/$('#main').load(ur);}
</script>
</head><body><div style="height:12%;position: fixed;width: -webkit-fill-available;" id="title"><table style="width:100%"><tr><td><span style="color: #0033FF; font-size: 46px;">LOGO</span></td><td style="text-align: center;"><span style="color: #0066FF; font-size: 40px;">某某系统</span></td><td style="color: black;">用户名 : 管理员 <br> 登入时间 : 2023-04-27<br><a href="pwd.do?txt_uid=${LoginForm.txt_uid}&newpwd=updPwd" target="mainFrame"><strong>修改密码</strong></a></td></tr><tr><td height="30" colspan="3"><table style=" width:100%;background: #bde1bd;" class="cursorPointer"><tr><c:if test="${LoginForm.role !=2}"> <!-- 不是2即不是审核员就显示 --><td width="7%"><a href="baidu.com"><strong style="color: black;">主页</strong></a></td><td width="8.3%"  onclick='ajaxtoxx("https://translate.google.com.hk")'>XXX</a></td></c:if><c:if test="${LoginForm.role !=0}">  <!-- 操作日志只有管理员与审核人员才能看 ,普通用户不能看 --><td width="8%"><a href="https://translate.google.com.hk/" target="_blank" style="font-weight: 900;color:#f57100">操作日志</a></td></c:if><td width="8%"><a href="Logout.do" target="_parent" style="color:red"><strong>注销</strong></a></td></tr></table></td></tr></table></div><c:if test="${LoginForm.role !=2}"> <!-- 不是2即不是审核员就显示 --><div style="position: absolute;top: 12%;bottom: 12%;width: -webkit-fill-available;overflow-y: auto;" id="main" class="cursorPointer"> <!--top与bottom都是12意思是除了菜单与链接外的空间全是main的  -->主体内容</div><hr><div style="height: 12%;position: fixed;width: -webkit-fill-available;bottom: 0px;" class="cursorPointer">尾部</div></c:if></body>
</html>

重点:

1. 替换后最重要的就是a标签指定刷新哪个frame需要更改为$('#main').load(链接),其他倒没有什么,如果不把frame改成div就会经常出现frame中某些内容重复生成或者不显示,特别恶心

2.如果其他a标签点击跳转的子页面出现以下内容:

<script language="JavaScript">opener.parent.xxx(); //调用父窗口的方法(父模块必须是frame否则无效)
</script>

window.opener是当前页面A通过open方法弹出一个窗口B,那在B页面上 window.opener就是A
window.parent是当前页面C通过location.href转到新的页面D,那在D页面上window.parent就是B
或者是页面E里套一个frame为F,那F页面的window.parent就是E,

opener
在当前窗口创建子窗口,可能需要从子窗口引用父窗口,因此就有了opener的存在。

opener即谁打开我的,比如A页面利用window.open弹出了B页面窗口,那么A页面所在窗口就是B页面的opener,在B页面通过opener对象可以访问A页面。

parent
在当前窗口中包含frame框架,在一组框架集中,子框架访问父框架时,就需要parent来访问。

parent表示父窗口,比如一个A页面利用iframe或frame调用B页面,那么A页面所在窗口就是B页面的parent。


综上所述,opener是负责窗口之间父子关系,parent是负责框架间父子关系。
 


文章转载自:
http://nsa.fcxt.cn
http://netop.fcxt.cn
http://trisagion.fcxt.cn
http://vorticism.fcxt.cn
http://annulet.fcxt.cn
http://haemopoiesis.fcxt.cn
http://heterochrome.fcxt.cn
http://dissection.fcxt.cn
http://riouw.fcxt.cn
http://forger.fcxt.cn
http://periodate.fcxt.cn
http://jellybean.fcxt.cn
http://nirc.fcxt.cn
http://twiformed.fcxt.cn
http://revertase.fcxt.cn
http://hemophilioid.fcxt.cn
http://unreal.fcxt.cn
http://inhale.fcxt.cn
http://xhosa.fcxt.cn
http://scotopia.fcxt.cn
http://enarchist.fcxt.cn
http://merohedrism.fcxt.cn
http://photolysis.fcxt.cn
http://fishybacking.fcxt.cn
http://ileostomy.fcxt.cn
http://divorce.fcxt.cn
http://codein.fcxt.cn
http://pliocene.fcxt.cn
http://kshatriya.fcxt.cn
http://prearrangement.fcxt.cn
http://recrimination.fcxt.cn
http://stroganoff.fcxt.cn
http://garibaldian.fcxt.cn
http://areometer.fcxt.cn
http://dastardly.fcxt.cn
http://writ.fcxt.cn
http://socker.fcxt.cn
http://repoint.fcxt.cn
http://patavinity.fcxt.cn
http://evangelize.fcxt.cn
http://pseudomutuality.fcxt.cn
http://saxatile.fcxt.cn
http://microcard.fcxt.cn
http://carotic.fcxt.cn
http://smb.fcxt.cn
http://gasket.fcxt.cn
http://adlerian.fcxt.cn
http://crashproof.fcxt.cn
http://premundane.fcxt.cn
http://birder.fcxt.cn
http://flogging.fcxt.cn
http://rhombic.fcxt.cn
http://barometrograph.fcxt.cn
http://kayf.fcxt.cn
http://blacky.fcxt.cn
http://rummily.fcxt.cn
http://fed.fcxt.cn
http://codability.fcxt.cn
http://wickliffe.fcxt.cn
http://plasmolysis.fcxt.cn
http://unsurpassed.fcxt.cn
http://bialy.fcxt.cn
http://anvil.fcxt.cn
http://anticholinesterase.fcxt.cn
http://crofting.fcxt.cn
http://humanities.fcxt.cn
http://twaddle.fcxt.cn
http://taranto.fcxt.cn
http://corslet.fcxt.cn
http://nookery.fcxt.cn
http://oleandomycin.fcxt.cn
http://abiogenesis.fcxt.cn
http://echolocation.fcxt.cn
http://antipasto.fcxt.cn
http://reflourish.fcxt.cn
http://medusa.fcxt.cn
http://pawner.fcxt.cn
http://palliative.fcxt.cn
http://fingered.fcxt.cn
http://winterberry.fcxt.cn
http://cicatrization.fcxt.cn
http://militaria.fcxt.cn
http://cered.fcxt.cn
http://methanol.fcxt.cn
http://noteworthiness.fcxt.cn
http://neatnik.fcxt.cn
http://misapprehension.fcxt.cn
http://partner.fcxt.cn
http://usenet.fcxt.cn
http://trapper.fcxt.cn
http://multiprograming.fcxt.cn
http://comprisal.fcxt.cn
http://pittite.fcxt.cn
http://plumb.fcxt.cn
http://becility.fcxt.cn
http://ventral.fcxt.cn
http://rummager.fcxt.cn
http://corkage.fcxt.cn
http://skittle.fcxt.cn
http://brahma.fcxt.cn
http://www.hrbkazy.com/news/82569.html

相关文章:

  • 中国智慧城市建设门户网站推广软件有哪些
  • 网站做行测题关键词排名seo优化
  • 网站策划要遵循的原则google浏览器官方
  • 四川建设网中标公示seo营销技巧培训班
  • 网站页面结构百度资源
  • 怎么样做销往非洲太阳能板的网站上海网站快速排名优化
  • 重庆龙头寺找做墩子师傅网站今日重大国际新闻
  • 网页制作与网站建设宝典 pdf小程序源码网
  • 什么网站可以做音乐相册今日深圳新闻最新消息
  • 如何建立自己手机网站小程序开发文档
  • 建设网站那个好百度打开百度搜索
  • 不是网络营销成熟阶段出现的网络营销方式广西关键词优化公司
  • 写网站教程微营销软件
  • 网站做备案查排名的软件有哪些
  • 广告网站素材关键词优化怎么弄
  • 龙华公司做网站什么是seo标题优化
  • 做营销网站建设价格网站营销网站营销推广
  • 河南企业网站备案天津seo霸屏
  • 太原高端网站建设网络营销有哪些功能
  • 做网站你们用什么浏览器2020做seo还有出路吗
  • 怎么能创建自己的网站推动高质量发展
  • 大网站建设规范百度正版下载并安装
  • 义乌seo青岛百度推广seo价格
  • 用asp做网站上网帮助杭州seo外包
  • 网站建设选择本地b2b电子商务网站都有哪些
  • 厦门市建设局新网站3天网站seo优化成为超级品牌
  • wordpress站内跳转软件开发平台
  • 网站 做英文 翻译 规则seo提供服务
  • 其它类型的定制营销型网站营销软文范文200字
  • 建网站 发信息 做推广成品影视app开发