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


Recent Events
  • 27/11/2014 Thanksgiving day

    Thanksgiving day is coming and we are glad to announce good news for our visitors. 30% discount for all our extensions will be available on 28 November and 20% from 29 to 30 November. Use TG2014 coupon code.

  • 29/08/2014 "ARI Smart Content" v. 2.0.0

    Popular Joomla! extension ARI Smart Content has been upgraded to version 2.0. It was totally re-worked and has become more powerful and user-friendly.


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 3 Years, 3 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 3 Years, 3 Months ago Karma: 561
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 3 Years, 3 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 3 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 3 Years, 2 Months ago Karma: 561
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 3 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
gilt