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


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

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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 6 Years, 5 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 07:27 By MIDAS.
The administrator has disabled public write access.
 
#14079
Re:Open with JQuery 6 Years, 5 Months ago Karma: 666
"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 6 Years, 5 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 6 Years, 5 Months ago Karma: 666
Sorry, but documentation for javascript code is not available.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#14086
Re:Open with JQuery 6 Years, 5 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 6 Years, 5 Months ago Karma: 666
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