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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

Closing lightbox after a form is submitted
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Closing lightbox after a form is submitted
#12786
Closing lightbox after a form is submitted 13 Years, 1 Month ago Karma: 0
HI Guys,

OK I don't know if this is possible. I would like to have a form put into the light box, (capture email address) and once the form is submitted, the box automatically closes. Is that possible?

Thanks,

David
The administrator has disabled public write access.
 
#12791
Re:Closing lightbox after a form is submitted 13 Years, 1 Month ago Karma: 747
Hello,

You can try to add the next javascript code to submit form button:

Code:


if (typeof(window.top['SexyLightbox']) != 'undefined') window.top.SexyLightbox.close();



If you have any difficulties with it, you can provide temporary to your Joomla! backend by email, describe where we can see the form and we will be glad to help you.

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