What does Resizable feature do in window.open method?

 Posted by Rajesh_Kumar on 2/20/2014 | Category: JavaScript Interview questions | Views: 2174 | Points: 40
Answer:

Resizable feature of window.open method specifies whether to display resize handles at the corners of the window or in other window,we can say that Resizable allow/disallow the user to resize the window.The default is yes.If we specify Yes then we can increase/decrease window meaning that we can resize window to full screen.We can also provide 1 for Yes and 0 for No.

For Example:
window.open("http://www.yahoo.com", "my_win","resizable = 1");


//OR

window.open("http://www.yahoo.com", "my_win","resizable = yes");


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response