如何实现在打开的文档追加数据 ?

我用window.open打开一个新的链接(http://localhost/images/aa.gif or http://localhost/images/aa.html). 如何在新的窗口在原有的数据后面加一些文字性的东西. 比如一个链接等 . 谢谢 .
---------------------------------------------------------------

图像用:

 1<script>   
 2function openwin(a,lef,top,wid,hei)   
 3{   
 4newWindow = window.open("",'memberdetail','left='+lef+',top='+top+',width='+wid+',height='+hei+',resizable=0,status=0,menubar=0,scrollbars=1');   
 5newWindow.document.write("<center><img src="+a+"><br>")   
 6newWindow.document.write("<a href=javascript:window.close()>close</a>")   
 7}   
 8openwin('http://192.168.1.90:8080/admin/images/logo.gif','5','50','700','250')   
 9  
10</script>
Published At
Categories with Web编程
comments powered by Disqus