Javascript popup window (minimum) height -


i creating simple popup window , window height not resize 30 pixels. defaults 100 pixels. behavior appears in browsers. missing something?

var mywindow;  function openwindow(url)   {     var windowfeatures = "width=530,height=30,status,resizable=no,scrollbars=0";     mywindow = window.open(url, "welcome", windowfeatures); } 

here link

<a href='javascript:void(0)' onclick=openwindow('http://www.stackoverflow.com')> open window  </a> 

no, way works. "features" pass in window.open requests, , browser free ignore or of them. browsers and/or underlying os impose minimum width , height windows -- there nothing can alter via javascript.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -