jsp重新打開一個新的頁面


有以下一種實現方式:

1、target="_blank”

    <a href="document.html" target="_blank">my document</a> 瀏覽器會另開一個新窗口顯示document.html文檔
2、target="_parent"

    <a href="document.html" target="_parent">my document</a>指向父frameset文檔
3、“_self”

    <a href="document.html" target="_self">my document</a>把文檔調入當前頁框
4、“_top”

    <a href="document.html" target="_top">my document</a> 去掉所有頁框並用document.html取代frameset文檔


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM