You are here: Home » All Posts » JavaScript Popup Windows

JavaScript Popup Windows

Using the window.close method

JavaScript Popup Windows

It may be needed that you need to give a close link in the popup you created. The window.close () method could be used to close a window. However, there are certain security restrictions for using the close() method. The close method closes only windows opened by JavaScript using the open method. If you attempt [...]

Read the full article →

Using the window.open method

JavaScript Popup Windows

The syntax of the window.open method is given below: open (URL, windowName[, windowFeatures]) URL The URL of the page to open in the new window. This argument could be blank. windowName A name to be given to the new window. The name can be used to refer this window again. windowFeatures A string that determines [...]

Read the full article →

JavaScript Popup Windows

JavaScript Popup Windows

JavaScript popups are handy to display help information or to zoom in an Image. There are different types of Popups. The first type is a new browser window opened using the window.open() function. Such types of Popup windows were overused and exploited by many websites during the earlier days of the web. This resulted in [...]

Read the full article →