In chrome this opens in a new tab:  <button onclick="window.open('newpage.html', '_blank')" />   this opens in a new window (but I'd like this to open in a new tab as well:  <script language="javascript"...
I was developing a GreaseMonkey script which used window.showModalDialog.  But before finishing it, I have discovered that Firefox 29 warns:     Use of window.showModalDialog() is deprecated. Use window.open()   instead. For more help   https://dev...
When using javascript window.open() on a multi-monitor system, how do you control which monitor, or where in the display space the popup opens? It seems out of control to me and otherwise random in it's behavior....
I have a small bit of javascript intended to open two or more tabs. This works fine in FF and IE, but chrome opens the second one in a new window instead of tab. It isn't dependant on the url as I've tried it with two identical url's. Fir...
Ok. I'm trying to login to twitter. The window is not opening in this code. The response that gets alerted is not null and is a link to a login screen. Any ideas?  var url = "./twitter_login.php"; var con = createPHPRequest();  con.open(&...
I'm developing a web application that opens a popup using windows.open(..). I need to call a function on the opened window using the handle returned by "window.open", but I'm always getting the error message "addWindow.getMaskElem...
I am using this chunk of jQuery/Javascript code on my site to open a popup window:  $('#change_photo_link').click(function(){     $id = $('#id').attr('value');      window.open("photo.upload.php?id=" + $id,"Upload...
When I'm using firefox and then using window.open('blah.com','blah','left=-30,top=-300');, the popup opens in my second display above my first one but in chrome, the popup just opens at left=0,top=0. Is there a reason why...
How can I disable window.open() using html, javascript, jQuery...? I mean block any window open attempt, making "not-working" all existing window.open() functions. Which are the best ways to do it? (working also in case of iframes)...
I am trying to modify a site that uses "Morten's JavaScript Tree Menu" to display PDFs in a frames set using the Adobe Reader plug-in.  On the iPad the frame is useless, so I want to open the PDF in a new tab. Not wanting to mess with the...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.