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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


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? 14 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? 14 Years, 6 Months ago Karma: 760
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? 14 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 13:58 By maeck.
The administrator has disabled public write access.
 
#4728
Re:close lightbox from inside the lightbox? 14 Years, 6 Months ago Karma: 760
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? 14 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? 14 Years, 6 Months ago Karma: 760
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