javascript Programming Glossary: window.open
Javascript Post on Form Submit open a new window http://stackoverflow.com/questions/178964/javascript-post-on-form-submit-open-a-new-window something like this to open a page in a new window onclick window.open test.html '' 'scrollbars no menubar no height 600 width 800..
How to close current tab in a browser window? http://stackoverflow.com/questions/2076299/how-to-close-current-tab-in-a-browser-window the above. If you opened the window with Javascript via window.open then you are allowed to close the window with javascript. Firefox..
Print the contents of a DIV http://stackoverflow.com/questions/2255291/print-the-contents-of-a-div elem Popup elem .html function Popup data var mywindow window.open '' 'my div' 'height 400 width 600' mywindow.document.write '..
Why does canvas.toDataURL() throw a security exception? http://stackoverflow.com/questions/2390232/why-does-canvas-todataurl-throw-a-security-exception image ctx.drawImage img 0 0 Here's where the error happens window.open frame.toDataURL image png is throwing this error SECURITY_ERR..
Programmatically open new pages on Tabs http://stackoverflow.com/questions/427479/programmatically-open-new-pages-on-tabs using a new tab . Programmatically I mean something like window.open 'page.html' 'newtaborsomething' javascript internet explorer..
Open url in new tab using javascript http://stackoverflow.com/questions/4907843/open-url-in-new-tab-using-javascript questions where the responses would look something like window.open url '_blank' window.open url But none of them worked for me.. would look something like window.open url '_blank' window.open url But none of them worked for me the browser still tried to..
Detect blocked popup in Chrome http://stackoverflow.com/questions/668286/detect-blocked-popup-in-chrome answer to this question . Here's the basic test var newWin window.open url if newWin newWin.closed typeof newWin.closed 'undefined'..
How to take screen shot of a div with JavaScript? http://stackoverflow.com/questions/6887183/how-to-take-screen-shot-of-a-div-with-javascript etc. for the result When the user clicks Capture do this window.open '' document.getElementById 'the_canvas_element_id' .toDataURL..
ie8 var w= window.open() - “Message: Invalid argument.” http://stackoverflow.com/questions/710756/ie8-var-w-window-open-message-invalid-argument var w window.open &ldquo Message Invalid argument.&rdquo I have a site that has.. have a site that has an IE8 only problem The code is var w window.open urlstring wname wfeatures 'false' The error is Message Invalid.. The problem appears to be in using assigning the result of window.open when doing var w . When I split the line into two statements..
JavaScript open in a new window, not tab http://stackoverflow.com/questions/726761/javascript-open-in-a-new-window-not-tab in a new window not tab I have a select box that calls window.open url when an item is selected. Firefox will open the page in.. with width height. See here for all the possible options. window.open url windowName height 200 width 200 When you specify a width..
How can I close a window with Javascript on Mozilla Firefox 3? http://stackoverflow.com/questions/760422/how-can-i-close-a-window-with-javascript-on-mozilla-firefox-3 javascript type text javascript function closeWindow window.open '' '_parent' '' window.close script It is supposed to fool the.. UniversalBrowserWrite alert This will close the window window.open '' '_self' window.close closeWindow share improve this answer..
jQuery Table to CSV export http://stackoverflow.com/questions/921037/jquery-table-to-csv-export a CSV file. It was function popup data var generator window.open '' 'csv' 'height 400 width 600' generator.document.write ' html..
|