I'm using a script to make an overlaying popup window appear.It works great but you can't close it.Can anyone help me with how to add a something to make the window close? I have a little graphic of an "x" that I want to be able to click on and close the overlay window.
As per the rather long subject, I would like to (well, my boss would like me to...) on a popup have one button to close and another to close but then redirect to another page.
I wrote an ASP-page which allows friends to upload a datafile which will be processed and stored in a database. Because large files take some time to process I want to open a popup 'Please wait, processing' with some fancy graphics. So, onSubmit -> check form and open popup if correct. When data is written into the database (and summary page has finished loading) I want to close the popup.... although I named it winDialog (winDialog = window.open(...)) the new page tells me it can't find this popup ( if (window.winDialog) { winDialog.close() } ). Can anyone tell me what's wrong? Maybe I'm doing things wrong. Or could you perhaps put me in a right direction...
I have a popup window that opens from a page on my website. This popup is a form with several fields. Upon submit button it redirects to a server side ASP page which writes all data to the DB.
I would like the popup to close immediately after the submit button is clicked, and data is saved, (or cancel button) - but this does not happen. The popup window remains open, even though I have a "return false;" after window.open in the onclick event.
What am I missing?
<a href="myurl.asp" 'title','toolbar=no,width=700,height=600'); return false;">post a note</a>;
I am currently having problems with Popup windows in an application I am writing. I have a page, which opens a Popup window to a Perl Script on another server.
Because of this, I cant access the Parent's DOM to execute a function on the main page from the popup. I need to execute a script in the Main window once the popup window has finished its process.
I have tried setting a loop that checks if the popup is still open, which should work in principle.... however it hangs both Browser Windows.
I have this script which I found bits-and-pieces and put together to display and close the popup. The problem is I couldn't figure out a way to close the popup by clicking anywhere on a page. I can close by clicking on the link but that's not what i want. I want to be able to click anywhere on a page to close the popup.
I open an popup to create something and after I press Submit button I want to close popup immediately. I saw many page do that but can not find their solution.
Using Dreamweaver 2004. Have a popup that opens loads when home page opens that contains links. Would like for popup to automatically close when a link is clicked. Would be great to have link open in parent page, but I would settle for popup closing.
I have used various popups in the past but I want to know if there is something out there that will do just like my topic title said. It will open when I hover over it and then the only way to close it is to click on a 'close' link within that popup window.Hover over the link 'Cart' at the upper right of the page.I looked at the source but I am not familiar with the scripts there and so I was hoping that someone will point to the right direction.
I am trying to do two things. I have PDF files but the user has to click on the icon and a contact form will come up in a pop-up window. That window has a form and once the form is completed and properly validated, I want the pop-up window to automatically close and go to "white_papers.com?download=1". It will do everything but it only goes to white_papers.com. How can I get it to go to the entire URL including "?download=1"?
Originally, I was using a dropdown list created in php to show about 150 image choices, when selected it would send the selected image to my image-switcher.php and change the displayed image. The problem was, with so many images and only a name to look at, it was frustrating my users.[code]...
I reworked the php to display thumbnails hrefed to the image-switcher. What I don't know how to do is have the fancybox popup close when a user either selects an image or hits x, right now they have to x-out after picking their image. Is there a trick to this, I thought the hideoncontentclick would do it?
I have a popup window that has a "link" inside it, which needs to have a target=_blank but when ever clicked in IE, it stays inside the same window.I tried all of the following, none work
I was curious if such a thing is possible, I've seen it done before, but not exactly sure how that would work. Would it have something to do with the window.close (); function?
how to redirect the parent window (below the popup) to a new address when a user clicks a link in a pop? And the pop up should close. This javascript refreshes the parent window and closes the pop up but it does not send the user to a new page in the parent window. onClick="window.opener.location.reload(true); window.close();" I don't know much about javascript.
create a link which has an OnMouseOver event, this event should open a popup window (but check first if a previous instance of this popup is open - if so, close it)
the link should also have an OnMouseOut event which would close the perviously opened popup.
I have this page that a user uses to upload a PDF. I want a small popup to come up when they hit the upload button to promt the user to wait. This part is fine and works but I need the popup to close when the upload is complete. The way I have aproched it is to have a function that pops the window up: Code:
Is it possible for me to make visible a close button if the active window is a popup window or a new window (other than the main window)?
What I mean is this:
If the present window is the main window, then the close button should not be visible on the page. Otherwise, the close button should be made visible and active (i.e. can be clicked to close the window).
I would like to open an overlay DIV onclick or onload, much like thickbox or shadowbox does. Here's the hard part - I would like to have it animate and shrink it to the top right corner of the page when the popup is closed. The reason for this is so that the user will know how to get that popup window back open. The popup will animate and minimize to the top right of the page, where the button to re-open the popup (ie. overlay) will be located.
[url]- I would like the "current issue" graphic to be clickable and open the "subscribe" popup with an animation to zoom it from 0 to full size and center it on the page.
as the title says, "close popup window after submit then redirect to parent". how do i do that? i google it and i saw that some people are using the following code:
window.close(); window.opener.location.reload();
The problem is, i dont know how to use and where them.
I have an html button that calls & open another browser window on the onmouseup event, but once I close the popup new browser window my button has focus & is like selected.
I want it not to be selected or clicked or has focus, how do i loose the focus after close of popup window?