2
Google Chrome 瀏覽器開啟新分頁 (轉)
source link: https://webber0928.blogspot.com/2016/04/google-chrome.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Google Chrome 瀏覽器開啟新分頁 (轉)
Google Chrome 瀏覽器開啟新分頁
在一般瀏覽器以Javascript設計開啟新視窗,
使用 window.open( url , "windown_name", "視窗狀態列設定"); 就可達成,
但在 Google Chrome 瀏覽器卻失效( Google Chrome Default 是自動阻擋新視窗)
但可開啟新分頁, 只要調整 javascript 語法即可
var newwin = window.open(); //此行一定要如此書寫,否則失效
newwin.location= url; // url是 cgi 程式或者超連結 html
轉載於 http://jazz-info.blogspot.tw/2012/07/google-chrome.html
在一般瀏覽器以Javascript設計開啟新視窗,
使用 window.open( url , "windown_name", "視窗狀態列設定"); 就可達成,
但在 Google Chrome 瀏覽器卻失效( Google Chrome Default 是自動阻擋新視窗)
但可開啟新分頁, 只要調整 javascript 語法即可
var newwin = window.open(); //此行一定要如此書寫,否則失效
newwin.location= url; // url是 cgi 程式或者超連結 html
轉載於 http://jazz-info.blogspot.tw/2012/07/google-chrome.html
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK