Êó±êµÄ¶àÖÖÑùʽ...
<P><a href="help.htm" style="cursor:hand">ÊÖ</a>
<a href="help.htm" style="cursor:text">Îı¾</a>
<a href="help.htm" style="cursor:MOVE">Ëĸö·½ÏòµÄ¼ýÍ·</a>
<a href="help.htm" style="cursor:e-resize">×óÓÒ·½ÏòµÄ¼ýÍ·</a>
<a href="help.htm" style="cursor:nw-resize">ÓÒбÏ·½¼ýÍ·</a>
<a href="help.htm" style="cursor:s-resize">ÉÏÏ·½¼ýÍ·</a>
<a href="help.htm" style="cursor:sw-resize">×óбÏ·½¼ýÍ·</a>
<a href="help.htm" style="cursor:crosshair">Ê®×Ö¼Ü</a>
<a href="help.htm" style="cursor:wait">ɳ©</a>
<a href="help.htm" style="cursor:help">ÎʺÅ</a>
<a href="help.htm" style="cursor:n-resize">ÉÏϼýÍ·</a>
<a href="help.htm" style="cursor ......
ÔÚWeb¿ª·¢ÖУ¬³£³£ÒªÓõ½Á½¸ö´°¿ÚÖ®¼ä»¥Ïà´«Öµ¡£ÏÂÃæÌ¸Ì¸¸¸×Ó´°¿ÚÖ®¼äµÄ´«Öµ£º
Ò»£ºÊ¹ÓÃOpen¿ªÆô×Ó´°¿Ú
1£ºµ¥Öµ´«µÝ
ͨ¹ýopen¿ªÆôµÄ×Ó´°¿Ú±È½ÏºÃ´¦Àí¡£
Ò³Ãæ´°¿Ú1.html´úÂ룺
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<body>
<form name="dForm" id="dForm" method="post" onsubmit="return dFormCK();" action="abc.php">
<input type="text" size="30" name="p" id="p" value=""/>
</form>
<a href="javascript:void(0)" onclick="window.open('2.html','child','width=400,height=300,left=200,top=200');">´ò¿ª×Ó´°¿Ú</a>
</body>
</html>
Openºóµ¯³öµÄ×Ó´°¿Ú2.html£º
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<base target="_self">
<body>
<input type="button" onclick="JavaScript:window.opener.document.getElementById('p').value='ok';window.close();" value="È·¶¨">
</body>
2£º¶àÖµ´«µÝ
¶àÖµµÄÖµµÄ´«µÝÓëµ¥Öµ´«µÝÊÇÒ»Ä ......
Ö÷ÒªÊǽ«jsonÎÞ·¨Ê¶±ðµÄ×Ö·û½øÐÐתÒå
function dotran($str) {
$str = str_replace('"','\\"',$str);
$str = str_replace("\r\n",'\\r\\n',$str);
$str = str_replace("\t",'\\t',$str);
$str = str_replace("\\",'\\',$str);
$str = str_replace("\b",'\\b',$str);
return $str;
}
ÕâÑù·µ»ØµÄÊý¾Ý¾Í¿ÉÒÔÕý³£ÏÔʾ£¬ÏÂÃæÊÇת»»ºóµÄÄÚÈÝ£º
jsontext='{"jqry":[{"id":"121","userid":"0","status":"1","filename":"","url":"333333333","title":"aaaaaaa","type":"WatchTV","seq":"1","remark":"remarktext","content":"<p>\\r\\n\\t<object classid=\\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\\" codebase=\\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\\"><param name=\\"quality ......
µ±HTML¿Ø¼þµÄid="ctl00_contentPlaceHolder_ddl_academy",name="ctl00$contentPlaceHolder$ddl_academy"ʱ
Request.Form["ctl00$contentPlaceHolder$ddl_academy"]¶ø²»ÊÇ
Request.Form["ctl00_contentPlaceHolder_ddl_academy"] ......
<html>
<frameset cols="25%,50%,25%">
<frame src="/example/html/frame_a.html">
<frame src="/example/html/frame_b.html">
<frame src="/example/html/frame_c.html">
<noframes>
<!-- ÔÚä¯ÀÀÆ÷²»Ö§³Öʱ²ÅÏÔʾ -->
<body>ÄúµÄä¯ÀÀÆ÷ÎÞ·¨´¦Àí¿ò¼Ü£¡</body>
</noframes>
</frameset>
</html> ......
<html>
<frameset cols="50%,*,25%">
<!-- ×ó±ßÒ³ÃæÕ¼50% ±»¹Ì¶¨×¡ÁË -->
<frame src="/example/html/frame_a.html" noresize="noresize"
/>
<frame src="/example/html/frame_b.html" />
<frame src="/example/html/frame_c.html" />
</frameset>
</html> ......