Opening A "be Patient" Window While An Upload Completes
Jul 23, 2005
I have a Perl script that's called as a CGI to handle the form
submission from a browser, thru which a user from the web can up load
an image file. I would like, when the user clicks the "Send Image"
button, to pop up a small window containing an animated (working -
please be patient) .gif while the image is uploaded from thier computer
to the server, once the transfer is complete, I would like to close the
pop up window and then load the new page in the original window.
That being the said, the Perl script won't be called at all until the
upload is finished, at which point its too late to do something like
what I am describing here.
Is there a way to open this popup window as possably a child of the
current window (inwhich the user clicked the button) so that the "Be
patient window" displays the gif, then once the upload is complete and
the Perl script is finaly called, which would then update the original
window causing the popup to close automaticly?
I have a HTML and I am opening another link in a separate window using window.open() . The child window is something like 'http://yahoo.com' which is out side html. I need to refresh the parent window when the child window is closed.
I have a popup window which has the search form in. What I want to do is for the popup window to close once the form is submitted, and to post the form data to a page on the main window.
Is anyone able to advise. As the main page is dynamic, it is not possible to give the page a name.
code to show ( overlay / modal window ) to the user when closing or navigating away from the page ( i want put in this window facebook share to make the user to share the page in his facebook ) , bytheway i wanna use it in my wordpress in every post could it be happen ?
I am looking to have a link open a closeable window that is contained within a browser window. If you click on the "sizing charts" link on this website, this is exactly what I am looking to do:
[URL]
The window is contained within the current browser window, it can be dragged around, but not outside the parameters of the browser window.
I have a site where one of the links I have set up to open a pop up window which will display Terms & Agreement information, at the bottom there is a check box and a submit button for users to click on if they agree to the terms. I was able to get that working but the thing is when the user clicks in the check box and hits submit I want them to be directed to a page which has a form on it but I wanted the page to open in the original (Parent) window. This is where I am lost cause I found some coding which will open the page with the form in the pop up window but Ideally once they agree to terms and hit submit I'd like the pop up window to disappear and the new page open in the Parent window... is this possible below is the coding I'm using.
Here is the form:
<form method="get" action="this is where my link will go" onsubmit="return yes_no(this.form) " name="Agree"> <INPUT name="agree" name="agree" value="agree" type="checkbox"> I agree to terms <input type="submit" name="submit" value="Accept Terms">
I want the window to be the exact size of the image so I set the width and height of the window the same as the width & height of the image.
The code works, however there is a white border on the top and left side of the image. If I add 20 to the width and height of the window then there is a white border around the whole image.
Is there anyway to have the window the exact size of the image, without this white border? I know there is probably a simple solution, but I'm a beginner at JavaScript.
I have a form on a page and when the form is submitted it should open a new window and post the content to it.
When the script being posted to is a html page, then this works fine, but when the script being posted to produces an svg graphic, then there is no 'view source'. Its almost as though the opened page headers are already set for html and doesn't like the svg xml schema.
I'm pretty poor at Javascript, but does anyone have any ideas on how I can get a new browser window to open behind the current window when it is opened.
I am trying to find out how to position an opening window in Internet Explorer.
While in Netscape/Mozilla/Firefox exist the options screenX and screenY for the open method of the window object, I couldn't find anything similar in IE.
How do I open a window from within a .js file?I want to do this, below in a .js file like I would in a html file. <a href="google.co.uk" class="thickbox"></a>
I have a button called LOOKUP, which when clicked calls a client side function that increments the nLookUp by 1 and then should open the target URL in new window. How can i accomplist this from cllient side scripting?
<script language="javascript"> <!-- var nLookUp = 0
I am trying to write a javascript to open multiple websites in the same window for Internet Explorer. However I keep getting the website opening in a new window. Here is my code.
[Code]...
So currently, this code behaves like this. Every 3 seconds, it opens up a new website. However this code I wrote opens [URL] in a new window, then [URL] in a new window and so on. I want it to open all the websites in the same window. How do I achieve this?
From my web page I open another link in another browser window. That new window is composed of two frames. I have a <a href="....."> link on the second frame of that window. What I want is that when user clicks on the link in the new window's second frame, the response should open in the original browser window that opened this secondary window(which is made of two frames). How can I do it?I hope i have explained my problem.
I tried to used window.opened.location.href but it didnt work because I have frames in my secondary window...
I want to open a new browser window using javascript. I don't want to display URL in the dialogue. Here is my code. Code: var windowFeatures = "top=100,left=100,scrollbars=yes,resizable=no,menubar=no,location=no,directories=no,titlebar=no"; var windowObjectReference = window.open(resourceURL,"_blank",windowFeatures); The new dialogue shows the URL but doesn't allow to modify it. Is there any way to completely hide the url? Although I have specified resizable=no browser allows me to resize the window. I am using firefox.
How to add an onload function to an opened window? (target is "self", not window.open, just a regular link)Is it possible with onbeforeunload or something? Or add onclick to the "normal link"?I mean like this: