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?

How can I open a lightbox with JQuery/Javascript
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How can I open a lightbox with JQuery/Javascript
#14078
How can I open a lightbox with JQuery/Javascript 13 Years, 8 Months ago Karma: 0
Hello!

How can i open a lightbox by using JQuery command (open on page load) ?

regards,
Nick
Last Edit: 2011/04/26 13:27 By MIDAS.
The administrator has disabled public write access.
 
#14079
Re:Open with JQuery 13 Years, 8 Months ago Karma: 760
"ARI Sexy Lightbox" module provides ability to show the lightbox on page load. Use "Open on load" parameter for this purpose. If you want to use javascript, code will look like:

Code:


jQuery(window).load(function() {
  if (typeof(SexyLightbox) == "undefined")
    return ;

  SexyLightbox.show("Title", "http://www.ari-soft.com?TB_iframe=true&width=500&height=300", "");
});



Regards,
ARI Soft
The administrator has disabled public write access.
 
#14080
Re:Open with JQuery 13 Years, 8 Months ago Karma: 0
Hello!

Thank you for the fast answer, works fine!
Exists a documentation how to use with JQuery/Javascript?
The administrator has disabled public write access.
 
#14085
Re:Open with JQuery 13 Years, 8 Months ago Karma: 760
Sorry, but documentation for javascript code is not available.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#14086
Re:Open with JQuery 13 Years, 8 Months ago Karma: 0
Thanks!

What means the last parameter?
Code:

  ... ght=300", "");
The administrator has disabled public write access.
 
#14087
Re:Open with JQuery 13 Years, 8 Months ago Karma: 760
This is internal parameter and used when the lightbox is called by click on a HTML element.

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