0
我有一個簡單的搜索框表單,我希望結果可以在新窗口中使用target =「_ top」打開。我嘗試了一切,到處搜索,但無論我嘗試什麼,它都不起作用。我在我的網站上的許多常規鏈接中使用target =「_ top」,沒有任何問題。我正在使用Firefox 5.0。表單中的目標標記不起作用
任何幫助將不勝感激。
感謝
我有一個簡單的搜索框表單,我希望結果可以在新窗口中使用target =「_ top」打開。我嘗試了一切,到處搜索,但無論我嘗試什麼,它都不起作用。我在我的網站上的許多常規鏈接中使用target =「_ top」,沒有任何問題。我正在使用Firefox 5.0。表單中的目標標記不起作用
任何幫助將不勝感激。
感謝
你想用target="_blank"
在新窗口中打開它。
下面的值,其中以下劃線可以用於超鏈接的目標:
_blank Renders the content in a new window without frames.
_parent Renders the content in the immediate frameset parent.
_self Renders the content in the frame with focus.
_top Renders the content in the full window without frames.
For your case you should use <a href="" target="_blank">my link</a>
我已經嘗試了所有的這一點,但他們沒有工作。但是我找到了解決方案。我用這個:form method =「get」target =「searchstring」,它來自:input type =「Text」name =「searchstring」。謝謝 – Wanda