I have a large project in Vb.net which drives a web browser control around. What's the best, and easiest, way to manage browser pop ups? Note, I am not just looking to cancel or close them. I need to manage them just like the main window.
...
Hi All,
Sorry about the wording for my question title.
I have a basic HTML anchor tag that when clicked it is suppose to bring up a dialog box to download a file from a differnt website.
I am using an attribute of target="_blank" so that when my hyperlink is clicked, I don't navigate away from my main window.
This is all the easy part...
The following javascript opens a pop-up in Firefox, Safari, IE, and Google Chrome:
window.open("http://google.com", "foo", "toolbar=yes,location=yes,menubar=yes")
However, in Google Chrome the toolbar (with the usual forward and back buttons, etc.) does not appear on the popped-up window. (Tested on both Windows and Mac.)
How can I ...
I have a Popup that is shown when a user clicks on a button. I would like to hide the popup when any of the following events occur:
The user clicks somewhere else in the application. (The background panel for example)
The user minimizes the application.
The JPopupMenu has this behavior, but I need more than just JMenuItems. The follo...
I created a simple html file that pop's out a window of size 310x431, but when you select/click on the pop-out window frame, you can see it getting resized (takes more width), this happens only on Safari for Windows, any reason why? or is there a way to stop it from resizing the pop-out window.
Test html file - http://dl.dropbox.com/u/3...
Is there a set of best-practices or advice to avoid pop up windows being blocked by the different browsers pop-up blockers?
By pop-up I mean windows created by either window.open or window.showModalDialog methods.
Thanks a lot
Edit:
I do not plan to bypass the pop-up
blockers with hacks. I came to this
while developing an ...
Normally we can specify a target in the link or use javascript window.open to open a new window.
But when I access this site
www.wenxuecity.com (It is a chinese site)
I could't find out how it opens each news in a new window.
no target in the link.
debug javascript doesn't show any call to window.open
Could someone tell me how it ...
I am working on an ASP.NET MVC 2 application.
In one of my data entry forms, I have an "employer" field which has a "search" link next to it. When a user clicks on this link, another window is opened with a search form. The user uses the search form to search for the correct employer. A list of employers is shown to the user. Currently,...
We have the default TinyMCE installation where clicking on the button to bring up the HTML editor makes it come up in a popup window. With something like Wordpress, the HTML editor is just another tab inside the TinyMCE box, which is a nicer alternative.
Is it possible to setup TinyMCE so the HTML editor just comes up in another tab of ...
I have a popup function in a program that works well, be re-loads the parent page as it loads the child. Is there a way to prevent this behaviour.
// popup window function
function newPop(url, myWin, width, height, left, top, scrollbars) {
parms = 'toolbar=yes, scrollbars=no, location=no, menubar=no, resizable=no, width= ' + width ...
I'm not sure this can be done, but I'll ask anyway.
I like to keep all my code on a single page, if possible. I'm sure others are that way too.
I used to have 1 main file calling other smaller files to execute scripts. But in this case I'm keeping all my scripts on 1 file.
I have a time when I need a simple popup window (500x500) tha...
Hello,
A while back I created a lightbox plugin using jQuery that would load a url specified in a link into a lightbox. The code is really simple:
$('.readmore').each(function(i){
$(this).popup();
});
and the link would look like this:
<a class='readmore' href='view-details.php?Id=11'>TJ Kirchner</a>
The plugin could also acc...
Ok so I am using Chromium for Ubuntu 9.10 and cannot get this working using the normal means of detecting a pop-up blocker which are...
var popup = window.open(...);
var blocked;
if(!popup) {
blocked = true;
} else {
blocked = false;
}
Also, the accepted solution in this SO post, http://stackoverflow.com/questions/668286/detec...
Hi all,
I'm trying to work out a specific problem I'm having with positioning in Flex using the PopUpManager. Basically I'm wanting to create a popup which will scroll with the parent container - this is necessary because the parent container is large and if the user's browser window isn't large enough (this will be the case the majorit...
Hey people,
We wrote a small game using Microsoft's XNA Game Studio 3.1.
The LoadContent() takes a long time because, other than loading models, and config files, we're also running some one-time (per run) terrain analysis.
We are not C# or XNA programmers... we're Java programmers, and want to be able to give the user some feedback th...
Hi
I have an HTML page with a simple form.
When the user clicks "submit", I'd like a new window to open with the processed results of the form, AND to have the original page redirect somewhere else.
If I use a link with target="_blank", I can open the results window but not redirect the original page.
If I use Javascript to try and op...
hi guys,
i'm new to the asp.net mvc.
and i have a link which will popup show a 3 panes listbox which allows the user to select country, region and language.
and when the user click on the language, this will redirect back to the controller and refresh the page and show the proper localized content.
i was thinking of using a jquery dia...
I want to create a javascript popup box that contains text fields. I want to be able to style this box - using CSS - and I want the textfield entries to be Inserted into a MySQL database. Is this possible?
I would be familiar with doing this through web forms and server side scripting but I need it to be a bit more client side this tim...
I am making a Google Chrome extension and I would like to have my background page to cause the browser action's popup page to show after an event. Can this be done?
Thanks
...
Trying to do something similiar to how sourceforge starts the download on the page, and uses a direct link in case it doesn't work.
I can't seem to locate the javascript they use to start the downlaod popup.
Exampe link: http://sourceforge.net/projects/htmlparser/files/Integration-Builds/2.0-20060923/HTMLParser-2.0-SNAPSHOT-bin.zip/dow...