473,503 Members | 1,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How could I use the $.prettyPhoto.close(); in a php page?

1 New Member
I use the prettyPhoto.
I open an External page B(iframe) in the page A. Then I want to click an button and submit a form to a .php page C.
How can I close the page B and return to the page A just like I click on the black background around the iframe, after I submit the form in the page B?
May 10 '13 #1
1 2417
acoder
16,027 Recognized Expert Moderator MVP
You'll need to use top or parent (or window. in front of either) to access the parent page. Call this onload from the PHP page C, e.g.
Expand|Select|Wrap|Line Numbers
  1. top.$.prettyPhoto.close();
May 12 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1319
by: KLomax | last post by:
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????...
7
5155
by: Jenny | last post by:
I open page 1 and page 2 from main page. I want to close page 2 from page 1 after I finish processing some work in page 1. Does anyone know how to do that? Thanks, Jenny
0
1573
by: Dmitry Klymenko | last post by:
Please see the Socket.Close page in MSDN. There are such line in Remarks: "The Close method closes the the remote host connection and releases all managed and unmanaged resources associated with...
5
10447
by: Steve | last post by:
Is it possible to close a page using Javascript that will close *after* the page is loaded (it's an ASP page that performs an action).
9
2274
by: Daniel Walzenbach | last post by:
Hi I am faced with the following problem: I have a page (let’s call this page page1.aspx) containing some TextBoxes and a hyperlink which opens another page (let’s call this page page2.aspx)...
5
4003
by: - Steve - | last post by:
It doesn't seem like it should be that hard but how do I close a page?
1
1759
by: ilario santamaria | last post by:
hello loading a page in webbroser, try a link and click, you open the pagita everything ok Private Sub caricapagina(ByVal nomesito As String) Try WebBrowser1.Navigate(New Uri(nomesito))
1
1951
by: chuuburg | last post by:
Hi, can anyone help me with this. I have 2 pages, Page 1 is the main page while Page 2 is a flash page. When i close Page 2, I would like page 1 to be refreshed/re-retrieve from database because i...
0
2004
by: Pietro Malerba | last post by:
Hello! I'm testing quicksand script (http://razorjack.net/quicksand/) to filter some image. I had implemented the script with some image (http://www.hostingcubo.com/quicktest.php) 
As you can see...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
382
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.