Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

close lightbox from inside the lightbox?
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: close lightbox from inside the lightbox?
#4686
close lightbox from inside the lightbox? 7 Years, 6 Months ago Karma: 0
Hi,

i open a self-coded registration script within the lightbox.
At the end of the registration script i want put a close-button, to close the lightbox.

Is this possible?

regards, maeck
The administrator has disabled public write access.
 
#4689
Re:close lightbox from inside the lightbox? 7 Years, 6 Months ago Karma: 670
Hello,

You can execute the following javascript code that close lightbox:

Code:


SexyLightbox.close();



Regards,
ARI Soft
The administrator has disabled public write access.
 
#4727
Re:close lightbox from inside the lightbox? 7 Years, 6 Months ago Karma: 0
admin wrote:
Hello,

You can execute the following javascript code that close lightbox:

Code:


SexyLightbox.close();



Regards,
ARI Soft
I have tried it with
Code:

<a href="javascript:SexyLightbox.close()">close lightbox</a>
but it doesn't works.



any idea?
Last Edit: 2010/06/07 07:58 By maeck.
The administrator has disabled public write access.
 
#4728
Re:close lightbox from inside the lightbox? 7 Years, 6 Months ago Karma: 670
Could you provide link to page where you can try to use it?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#4729
Re:close lightbox from inside the lightbox? 7 Years, 6 Months ago Karma: 0
Yes of course, you can see it on www.forum-altoetting.de/anmeldung.html
-> please click on "Hier gehts zur Anmeldung!" to open the lightbox.

In the open lightbox look at two dots at the end of the content

regards maeck
The administrator has disabled public write access.
 
#4731
Re:close lightbox from inside the lightbox? 7 Years, 6 Months ago Karma: 670
It doesn't work because close link is located in another document which is loaded into <IFRAME>. Place the following code instead your code:

Code:


<a href="javascript:window.top.SexyLightbox.close()">close lightbox</a>



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12