»
Tiếng AnhTiếng PhápTiếng Việt

In - Mở trang web với kích thước tùy chọn - JavaScriptBank.com

Phiên bản đầy đủ: jsB@nk » Trình duyệt » Popup » Mở trang web với kích thước tùy chọn
URL: https://www.javascriptbank.com/window-resize-jeff-manning.html

Mở trang web với kích thước tùy chọn © JavaScriptBank.comHiệu ứng sẽ mở một trang web với đường dẫn và kích thước do người dùng nhập vào.

Phiên bản đầy đủ: jsB@nk » Trình duyệt » Popup » Mở trang web với kích thước tùy chọn
URL: https://www.javascriptbank.com/window-resize-jeff-manning.html



HTML
<form name="one" style="line-height: 2em;"><label>File Name: <input type="text" style="width:20%;" name="file"></label><br><label>Width: <input type="text" style="width:5%;" name="wsize"></label>   <label>Height: <input type="text" style="width:5%;" name="hsize"></label><br><button style="width:10%;" onclick="var win = window.open(document.one.file.value,'','width=' + document.one.wsize.value + 'height=' + document.one.hsize.value)">Resize</button></form><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->