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
Post a Comment