摘要: @echo off&setlocal enabledelayedexpansioncd/d "c:\Windows\System32\Drivers\Etc"echo 127.0.0.1 localhost > hostsset str1=192.168.0.X www.xxoo.com set str2=192.168.0.X www.ooxx.com (for /f "tokens=1* delims=:" %%i in ('findstr /n ".*" hosts')do ( echo.%%j s 阅读全文
posted @ 2013-12-02 13:41 xyzhuzhou 阅读(850) 评论(0) 推荐(0) 编辑
摘要: 网站域名: A:http://www.xxoo.com/a.html B:http://www.aabb.com/b.htmlB网站嵌套与A网站(A的a中的Iframe指向B中的b)b要让父级a页面执行脚本 则有如下几种方式:在A域名下网站新建a1.html页面在B域名下b网页添加iframe 指向a1.html页面 路径为http://www.xxoo.com/a1.html#你的参数在a1页面中用:var str = window.location.hash; 获取通过:var obj = window.top; 来获取顶级框架的对象然后 通过obj 来访问对象:obj.documen.. 阅读全文
posted @ 2013-12-02 09:48 xyzhuzhou 阅读(857) 评论(0) 推荐(0) 编辑