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?

Auto open on page load
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Auto open on page load
#54422
Auto open on page load 8 Years, 11 Months ago Karma: 0
I would like to have an Auto open on pageload function in Fancybox (Ari Smart Content). Would be nice if it could be combined with an auto close timer.
The administrator has disabled public write access.
 
#54494
Re:Auto open on page load 8 Years, 11 Months ago Karma: 747
Hello,

Upgrade the extension to v. 2.2.21 and use "autoShow" and "autoCloseDelay" parameters for {fancybox} tag. "autoCloseDelay" accepts values in seconds. A sample plugin code below:

Code:


{fancybox url="http://www.ari-soft.com" width="800" height="600" autoShow="1" autoCloseDelay="10"}
{/fancybox}



If you want to open the lightbox only once per browser's session, use the following code:

Code:


{fancybox url="http://www.ari-soft.com" width="800" height="600" autoShow="once" autoCloseDelay="10" key="splash" cookie_duration="0"}
{/fancybox}



"key" parameter should contain an unique key for each {fancybox} code which uses auto-open feature.

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