Open New Window Popup Code


This JavaScript button to open a new window which you can control its scroll bar, size, toolbars, etc... Suitable for use in the pop-up page, including video, audio, animation, forms, calendar, pictures, and so on.

Script Demo:





JavaScript Code:


Insert this code into <head> tags


Insert this code into <body> tags


Instruction:


Change the following text:

  • DESCRIPTION to text on the button.
  • http://YOURURL.com to target webpage URL.
  • yes and off to open or close the new window browser functionality.
  • width=600 to control the width of the window in pixel(px).
  • height=800 to control the height of the window in pixel(px).
  • Tip: Disable the width and height to use the default value.
Webmaster » Web Programming » JavaScript » Button » Open New Window Popup Code


 Related Links:

Home | Sitemap | Bookmark This Page
Sponsored Links