javascript - how to pop out an iframe from document? -
i included iframe in document open in window using "window.open"
without changing context in iframe.
is possible open existing iframe in window without changing context?
try this:
var w = window.open(null,'test',[800,600]); $(w.document.body).append($('iframe').contents().find('html'));
basically opening new window title 'test' , specific width , height , append content iframe in new opened window.
you need have permission iframe (it needs on own domain).
Comments
Post a Comment