Windows 10 önizleme Build 10130 ve yeni Edge tarayıcısında window.open
yöntemi belirtimine göre hareket etmiyor.Microsoft Edge window.open() genişlik yüksekliğini onurlandırmak değil ve arka planda açılır
Örnek kodu https://msdn.microsoft.com/en-us/library/ms536651(v=vs.85).aspx'da kullanır ve yeni bir pencere açmak için tıklatırsanız, arka planda yeni bir pencere açar ve genişliği ve yüksekliği tamamen yok sayar.
<!DOCTYPE html>
<html>
<head>
<title>window.open()</title>
<style>
html, body {
width: 100%;
height: 100%;
border: 1px solid black;
}
</style>
</head>
<body onclick="myOpen();">
<p>Click this page and window.open() is called.</p>
<script>
function myOpen() {
window.open("Sample.htm", null, "height=200, width=400, status=yes, toolbar=no, menubar=no, location=no");
}
</script>
</body>
</html>
Bu sorunu gören başka biri var mı? http://jsfiddle.net/TylerH/c91hcoum/2/
Microsoft'a rapor ediyor musunuz? –
Sadece yaptım. https://connect.microsoft.com/IE/feedbackdetail/view/1400158/microsoft-edge-window-open-not-honoring-width-height-and-opens-in-background – Sudi
@Sudi Teşekkürler. Internet Explorer ve Microsoft Edge ekibinde çalışıyorum. Bunu daha fazla araştıracağım ve sonumuzun dikkatini çekeceğinden emin olacağım. – Sampson