那得在applet.html上寫行代碼來取參數
給a標簽加個ID:
{a id="oa" href="#" onclick="window.open('applet.html','window','width=640','height=400');" style="color:red"}hello{/a}
然後在applet.html裏加上這句javascript:
{script}
document.write(opener.document.getElementById("oa").innerHTML);
{/script}