Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
28
rated 0 times [  30] [ 2]  / answers: 1 / hits: 72360  / 14 Years ago, thu, march 3, 2011, 12:00:00

Just wanted to know if it is possible to create a hidden window using javascript?


More From » window

 Answers
36

You can create an iframe



var element = document.createElement(iframe); 
element.setAttribute('id', 'myframe');
document.body.appendChild(element);


You can hide an iframe by setting its width and height to zero or by setting its visibility to hidden in the stylesheet.


[#93470] Wednesday, March 2, 2011, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kaley

Total Points: 141
Total Questions: 109
Total Answers: 109

Location: Burundi
Member since Sat, Aug 21, 2021
3 Years ago
;