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


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

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


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?

Link to next colorbox from within a colorbox
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Link to next colorbox from within a colorbox
#18988
Link to next colorbox from within a colorbox 6 Years, 2 Months ago Karma: 0
Hi,

How can I have it so there is a next and previous on colorbox popups. I am using the plugin System - ARI Colorbox and have the following loaded into an article:
<ul>
<li><a href="index.php?option=com_content&view=article&id=2&Itemid=3" class="aricolorbox {iframe: true, width: 800, height: 450}">link 1</a></li>
<li><a href="index.php?option=com_content&view=article&id=4&Itemid=5" class="aricolorbox {iframe: true, width: 800, height: 450}">link 2</a></li>
</ul>

Which works fine, however I need to add a next and previous so that the user can open the next article without closing the original colorbox. How is this possible? Thanks in advance

Andrew
The administrator has disabled public write access.
 
#18989
Re:Link to next colorbox from within a colorbox 6 Years, 2 Months ago Karma: 668
Hello,

Use the next code:

Code:


<ul>
<li><a href="index.php?option=com_content&view=article&id=2&Itemid=3" rel="group1" class="aricolorbox {iframe: true, width: 800, height: 450}">link 1</a></li>
<li><a href="index.php?option=com_content&view=article&id=4&Itemid=5" rel="group1" class="aricolorbox {iframe: true, width: 800, height: 450}">link 2</a></li>
</ul>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#18990
Re:Link to next colorbox from within a colorbox 6 Years, 2 Months ago Karma: 0
WOW - that has to be the quickest reply I have ever had. Excellent support and it worked fantastically. Thanks once again.
Andrew
The administrator has disabled public write access.
 
#18991
Re:Link to next colorbox from within a colorbox 6 Years, 2 Months ago Karma: 0
Hi Again,

I have just realised that using articles is displaying the site template, whereas I only need a content box with white background. How is this done? Thanks again.
The administrator has disabled public write access.
 
#18992
Re:Link to next colorbox from within a colorbox 6 Years, 2 Months ago Karma: 668
Use the following code:

Code:



<ul>
<li><a href="index.php?option=com_content&view=article&id=2&Itemid=3&tmpl=component" rel="group1" class="aricolorbox {iframe: true, width: 800, height: 450}">link 1</a></li>
<li><a href="index.php?option=com_content&view=article&id=4&Itemid=5&tmpl=component" rel="group1" class="aricolorbox {iframe: true, width: 800, height: 450}">link 2</a></li>
</ul>



In other words, add tmpl=component request parameter to link.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#18996
Re:Link to next colorbox from within a colorbox 6 Years, 2 Months ago Karma: 0
Once again it works, fantastic. I will leave a great review on JED shortly.
Andrew
The administrator has disabled public write access.
 
Go to topPage: 1