喜悦国际村's Archiver

卓越的猪 发表于 2004-1-6 05:31 PM

好像没有值传递

有一个java自定义函数
<SCRIPT language=javascript>
minimizebar='ico';
closebar="close.gif";
icon="icon.gif";
function noBorderWin(fileName,w,h,titleBg,titleColor,titleWord,borderColor,scr)
{
nbw=window.open('','','fullscreen=yes');
nbw.resizeTo(w,h);
nbw.moveTo((screen.width-w)/2,(screen.height-h)/2);
nbw.document.writeln("<title>"+titleWord+"</title>");
nbw.document.writeln("<"+"script language=javascript"+">"+"cv=0"+"<"+"/script"+">");
nbw.document.writeln("<body topmargin=0 leftmargin=0 scroll=no>");
nbw.document.writeln("<table cellpadding=0 cellspacing=0 width=100% height=100% style=\"border: 1px solid "+borderColor+"\">");
nbw.document.writeln(" <tr bgcolor="+titleBg+" height=20 onselectstart='return false'
onmousedown='cv=1;x=event.x;y=event.y;setCapture();
' onmouseup='cv=0;releaseCapture();' onmousemove='if(cv)window.moveTo(screenLeft+event.x-x,screenTop+event.y-y);'>");
nbw.document.writeln(" <td style="font-family:宋体; font-size:12px; color:"+titleColor+";\"><span style='top:1;position:relative;cursor:default;'>"+titleWord+"</span></td>");
nbw.document.writeln(" <td align=center width=30 style=font-size:16px;>");
nbw.document.writeln(" <img border=0 width=12 height=12 alt=最小化 src="+minimizebar+" onclick=window.blur();>");
nbw.document.writeln(" <img border=0 width=12 height=12 alt=关闭 src="+closebar+" onclick=window.close();>");
nbw.document.writeln(" </td>");
nbw.document.writeln(" </tr>");
nbw.document.writeln(" <tr>");
nbw.document.writeln(" <td colspan=3><iframe frameborder=0 width=100% height=100% scrolling="+scr+" src="+fileName+"></iframe></td>");
nbw.document.writeln(" </tr>");
nbw.document.writeln("</table>");
}
</SCRIPT>

在html中用<a herf=# onClick="noBorderWin('dl.htm','800','500','#000000','#CCCCCC','管理员登陆,'#000000','no');"><img src="qq2.jpg" width="560" height="269">按钮</a>

点按钮进入弹出窗口

窗口连接的内容是dl.htm

在dl.htm中有个dl.swf的FALSH..在这个FLASH中我将name和password的值都POST到另一个che.php中...

在弹出窗口中可以看到dl.htm...但好像在那里面填好name和password的值后...到che.php中没有POST过来的值....但是直接打开dl.htm可以POST值到che.php中........

这是为什么....这样的窗口不能传递值吗???

急.....................

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.